# #504588 color: Moonlight Sonata

#504588 is rgb(80, 69, 136) in RGB and oklch(43.499% 0.10756 288.653) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504588

## Formats

| Format | Value |
| --- | --- |
| HEX | #504588 |
| RGB | rgb(80, 69, 136) |
| HSL | hsl(249.85, 32.68%, 40.2%) |
| HSB / HSV | hsv(249.85 49.26% 53.33%) |
| HWB | hwb(249.85 27.06% 46.67%) |
| CMYK | cmyk(41% 49% 0% 47%) |
| Lab | lab(33.01 18.13 -36.49) |
| LCH | lch(33.01 40.75 296.42) |
| OKLab | oklab(43.499% 0.0344 -0.10191) |
| OKLCH | oklch(43.499% 0.10756 288.653) |
| Display P3 | color(display-p3 0.30659 0.27215 0.51673) |
| Rec. 2020 | color(rec2020 0.25465 0.21767 0.46482) |
| Adobe RGB | color(a98-rgb 0.30668 0.27721 0.52114) |
| ProPhoto RGB | color(prophoto-rgb 0.27314 0.22239 0.43276) |
| Linear sRGB | color(srgb-linear 0.08022 0.05951 0.2462) |
| XYZ D65 | color(xyz-d65 0.0988 0.07739 0.24267) |
| XYZ D50 | color(xyz-d50 0.09313 0.07544 0.18271) |
| SwiftUI | Color(red: 0.314, green: 0.271, blue: 0.533) |
| UIKit | UIColor(red: 0.314, green: 0.271, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF504588) |
| Android XML | #504588 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.24:1
- Contrast with black: 2.55:1

## Tints

#504588, #5f5794, #6f68a0, #7f7aac, #908db8, #a29fc4, #b4b2d0, #c6c5dc, #d9d8e8, #ecebf3

## Shades

#504588, #443b75, #393163, #2e2752, #241e41, #1a1531, #100c22, #070513, #020206, #000001

## Tones

#504588, #504783, #50487d, #504a78, #504b73, #504c6d, #504e68, #504f62, #504f5d, #515057

## Harmonies

- Complementary: #504588, #575500
- Split: #504588, #704800, #2f5f1f
- Analogous: #504588, #29508b, #6a3b76
- Triadic: #504588, #7f3b0f, #006346
- Tetradic: #504588, #7b355b, #575500, #006346
- Square: #504588, #823439, #575500, #006064
- Monochromatic: #504588, #170141, #322464, #7167ae, #948bd5

## Questions about #504588

### What color is #504588?

#504588 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 136), in HSL hsl(249.85, 32.68%, 40.2%) and in OKLCH oklch(43.499% 0.10756 288.653).

### What colors go well with #504588?

The complementary color of #504588 is #575500. For a calmer combination use the analogous colors #29508b and #6a3b76. The triadic partners are #7f3b0f and #006346.

### Is white or black text more readable on #504588?

White text reads better on #504588: white gives a contrast ratio of 8.24:1 and black gives 2.55:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #504588 a warm or cool color?

#504588 is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.5% and its chroma 0.108.
