# #504388 color: Moonlight Sonata

#504388 is rgb(80, 67, 136) in RGB and oklch(43.108% 0.11076 289.591) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504388 |
| RGB | rgb(80, 67, 136) |
| HSL | hsl(251.3, 33.99%, 39.8%) |
| HSB / HSV | hsv(251.3 50.74% 53.33%) |
| HWB | hwb(251.3 26.27% 46.67%) |
| CMYK | cmyk(41% 51% 0% 47%) |
| Lab | lab(32.48 19.35 -37.33) |
| LCH | lch(32.48 42.05 297.39) |
| OKLab | oklab(43.108% 0.03714 -0.10435) |
| OKLCH | oklch(43.108% 0.11076 289.591) |
| Display P3 | color(display-p3 0.3054 0.26462 0.51647) |
| Rec. 2020 | color(rec2020 0.25244 0.21054 0.46449) |
| Adobe RGB | color(a98-rgb 0.30487 0.26993 0.521) |
| ProPhoto RGB | color(prophoto-rgb 0.27138 0.21687 0.43233) |
| Linear sRGB | color(srgb-linear 0.08022 0.05613 0.2462) |
| XYZ D65 | color(xyz-d65 0.09759 0.07497 0.24226) |
| XYZ D50 | color(xyz-d50 0.09183 0.07301 0.18238) |
| SwiftUI | Color(red: 0.314, green: 0.263, blue: 0.533) |
| UIKit | UIColor(red: 0.314, green: 0.263, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF504388) |
| Android XML | #504388 |

## 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.4:1
- Contrast with black: 2.5:1

## Tints

#504388, #5f5594, #6f67a0, #7f79ac, #908bb8, #a29ec4, #b4b1d0, #c6c4dc, #d9d7e8, #ecebf3

## Shades

#504388, #443975, #392f63, #2e2652, #241d41, #1a1431, #100c22, #070513, #020106, #000001

## Tones

#504388, #504583, #4f477d, #4f4878, #4f4a72, #4f4b6d, #4f4c67, #4f4d62, #4f4e5c, #504f56

## Harmonies

- Complementary: #504388, #555400
- Split: #504388, #6f4700, #2b5e1d
- Analogous: #504388, #294e8c, #6a3976
- Triadic: #504388, #7e3a06, #006246
- Tetradic: #504388, #7b3259, #555400, #006246
- Square: #504388, #823236, #555400, #005e64
- Monochromatic: #504388, #170041, #322264, #7165ae, #9489d5

## Questions about #504388

### What color is #504388?

#504388 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 67, 136), in HSL hsl(251.3, 33.99%, 39.8%) and in OKLCH oklch(43.108% 0.11076 289.591).

### What colors go well with #504388?

The complementary color of #504388 is #555400. For a calmer combination use the analogous colors #294e8c and #6a3976. The triadic partners are #7e3a06 and #006246.

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

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

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

#504388 is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.1% and its chroma 0.111.
