# #504688 color: Moonlight Sonata

#504688 is rgb(80, 70, 136) in RGB and oklch(43.696% 0.10596 288.161) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504688 |
| RGB | rgb(80, 70, 136) |
| HSL | hsl(249.09, 32.04%, 40.39%) |
| HSB / HSV | hsv(249.09 48.53% 53.33%) |
| HWB | hwb(249.09 27.45% 46.67%) |
| CMYK | cmyk(41% 49% 0% 47%) |
| Lab | lab(33.28 17.53 -36.07) |
| LCH | lch(33.28 40.1 295.92) |
| OKLab | oklab(43.696% 0.03302 -0.10068) |
| OKLCH | oklch(43.696% 0.10596 288.161) |
| Display P3 | color(display-p3 0.30719 0.27592 0.51686) |
| Rec. 2020 | color(rec2020 0.25578 0.22125 0.46499) |
| Adobe RGB | color(a98-rgb 0.30761 0.28085 0.52121) |
| ProPhoto RGB | color(prophoto-rgb 0.27404 0.22518 0.43298) |
| Linear sRGB | color(srgb-linear 0.08022 0.06125 0.2462) |
| XYZ D65 | color(xyz-d65 0.09942 0.07863 0.24287) |
| XYZ D50 | color(xyz-d50 0.0938 0.07668 0.18288) |
| SwiftUI | Color(red: 0.314, green: 0.275, blue: 0.533) |
| UIKit | UIColor(red: 0.314, green: 0.275, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF504688) |
| Android XML | #504688 |

## 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.16:1
- Contrast with black: 2.57:1

## Tints

#504688, #5f5894, #6f69a0, #807bac, #908db8, #a29fc4, #b4b2d0, #c6c5dc, #d9d8e8, #ecebf3

## Shades

#504688, #443c75, #393263, #2e2852, #241e41, #1a1531, #100d22, #070513, #020206, #000001

## Tones

#504688, #504883, #50497e, #504b78, #504c73, #504d6e, #504e68, #504f63, #51505d, #515157

## Harmonies

- Complementary: #504688, #585500
- Split: #504688, #714800, #315f20
- Analogous: #504688, #2a518b, #6a3c77
- Triadic: #504688, #7f3c13, #006346
- Tetradic: #504688, #7a365c, #585500, #006346
- Square: #504688, #82353b, #585500, #006064
- Monochromatic: #504688, #170341, #322564, #7168ae, #948cd5

## Questions about #504688

### What color is #504688?

#504688 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 70, 136), in HSL hsl(249.09, 32.04%, 40.39%) and in OKLCH oklch(43.696% 0.10596 288.161).

### What colors go well with #504688?

The complementary color of #504688 is #585500. For a calmer combination use the analogous colors #2a518b and #6a3c77. The triadic partners are #7f3c13 and #006346.

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

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

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

#504688 is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.7% and its chroma 0.106.
