# #504290 color: Moonlight Sonata

#504290 is rgb(80, 66, 144) in RGB and oklch(43.463% 0.1239 288.396) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504290 |
| RGB | rgb(80, 66, 144) |
| HSL | hsl(250.77, 37.14%, 41.18%) |
| HSB / HSV | hsv(250.77 54.17% 56.47%) |
| HWB | hwb(250.77 25.88% 43.53%) |
| CMYK | cmyk(44% 54% 0% 44%) |
| Lab | lab(32.66 21.89 -41.95) |
| LCH | lch(32.66 47.32 297.56) |
| OKLab | oklab(43.463% 0.0391 -0.11757) |
| OKLCH | oklch(43.463% 0.1239 288.396) |
| Display P3 | color(display-p3 0.30482 0.26086 0.54613) |
| Rec. 2020 | color(rec2020 0.25418 0.20786 0.496) |
| Adobe RGB | color(a98-rgb 0.30398 0.26629 0.55104) |
| ProPhoto RGB | color(prophoto-rgb 0.27771 0.21589 0.46205) |
| Linear sRGB | color(srgb-linear 0.08022 0.05448 0.27889) |
| XYZ D65 | color(xyz-d65 0.1029 0.07615 0.27314) |
| XYZ D50 | color(xyz-d50 0.09587 0.07381 0.20556) |
| SwiftUI | Color(red: 0.314, green: 0.259, blue: 0.565) |
| UIKit | UIColor(red: 0.314, green: 0.259, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF504290) |
| Android XML | #504290 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.32:1
- Contrast with black: 2.52:1

## Tints

#504290, #5f549c, #6f67a7, #7f79b3, #908bbe, #a29ec9, #b3b1d4, #c6c4df, #d8d7ea, #ecebf4

## Shades

#504290, #44387d, #392f6a, #2e2557, #241c45, #1a1434, #100b24, #070515, #020107, #000001

## Tones

#504290, #50448a, #504684, #4f487e, #4f4a78, #4f4b71, #504d6b, #504e65, #504f5e, #505058

## Harmonies

- Complementary: #504290, #575500
- Split: #504290, #714700, #286010
- Analogous: #504290, #214f94, #6d377c
- Triadic: #504290, #853600, #006346
- Tetradic: #504290, #802e5c, #575500, #006346
- Square: #504290, #882d36, #575500, #006064
- Monochromatic: #504290, #180047, #32206b, #7165b6, #9489de

## Questions about #504290

### What color is #504290?

#504290 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 66, 144), in HSL hsl(250.77, 37.14%, 41.18%) and in OKLCH oklch(43.463% 0.1239 288.396).

### What colors go well with #504290?

The complementary color of #504290 is #575500. For a calmer combination use the analogous colors #214f94 and #6d377c. The triadic partners are #853600 and #006346.

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

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

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

#504290 is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.5% and its chroma 0.124.
