# #504889 color: Moonlight Sonata

#504889 is rgb(80, 72, 137) in RGB and oklch(44.16% 0.10426 286.958) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504889 |
| RGB | rgb(80, 72, 137) |
| HSL | hsl(247.38, 31.1%, 40.98%) |
| HSB / HSV | hsv(247.38 47.45% 53.73%) |
| HWB | hwb(247.38 28.24% 46.27%) |
| CMYK | cmyk(42% 47% 0% 46%) |
| Lab | lab(33.87 16.55 -35.74) |
| LCH | lch(33.87 39.39 294.85) |
| OKLab | oklab(44.16% 0.03041 -0.09973) |
| OKLCH | oklch(44.16% 0.10426 286.958) |
| Display P3 | color(display-p3 0.30843 0.28346 0.52084) |
| Rec. 2020 | color(rec2020 0.25841 0.22855 0.46928) |
| Adobe RGB | color(a98-rgb 0.30949 0.28815 0.52511) |
| ProPhoto RGB | color(prophoto-rgb 0.27673 0.23101 0.43714) |
| Linear sRGB | color(srgb-linear 0.08022 0.0648 0.25016) |
| XYZ D65 | color(xyz-d65 0.1014 0.08146 0.24706) |
| XYZ D50 | color(xyz-d50 0.09573 0.07947 0.18605) |
| SwiftUI | Color(red: 0.314, green: 0.282, blue: 0.537) |
| UIKit | UIColor(red: 0.314, green: 0.282, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF504889) |
| Android XML | #504889 |

## 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: 7.99:1
- Contrast with black: 2.63:1

## Tints

#504889, #5f5995, #6f6ba1, #807cad, #918eb9, #a2a0c5, #b4b3d0, #c6c5dc, #d9d8e8, #ececf3

## Shades

#504889, #443d76, #393364, #2e2953, #241f42, #1a1631, #100d22, #070614, #020207, #000001

## Tones

#504889, #504a84, #504b7f, #504c79, #504e74, #514f6f, #515069, #515164, #52515e, #525259

## Harmonies

- Complementary: #504889, #5a5600
- Split: #504889, #734900, #356021
- Analogous: #504889, #2a538b, #6a3f79
- Triadic: #504889, #803e18, #006446
- Tetradic: #504889, #7b385e, #5a5600, #006446
- Square: #504889, #83373e, #5a5600, #006265
- Monochromatic: #504889, #170542, #322765, #716baf, #948fd6

## Questions about #504889

### What color is #504889?

#504889 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 72, 137), in HSL hsl(247.38, 31.1%, 40.98%) and in OKLCH oklch(44.16% 0.10426 286.958).

### What colors go well with #504889?

The complementary color of #504889 is #5a5600. For a calmer combination use the analogous colors #2a538b and #6a3f79. The triadic partners are #803e18 and #006446.

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

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

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

#504889 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.2% and its chroma 0.104.
