# #524290 color: Moonlight Sonata

#524290 is rgb(82, 66, 144) in RGB and oklch(43.65% 0.12384 289.714) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #524290 |
| RGB | rgb(82, 66, 144) |
| HSL | hsl(252.31, 37.14%, 41.18%) |
| HSB / HSV | hsv(252.31 54.17% 56.47%) |
| HWB | hwb(252.31 25.88% 43.53%) |
| CMYK | cmyk(43% 54% 0% 44%) |
| Lab | lab(32.86 22.47 -41.61) |
| LCH | lch(32.86 47.29 298.37) |
| OKLab | oklab(43.65% 0.04178 -0.11658) |
| OKLCH | oklch(43.65% 0.12384 289.714) |
| Display P3 | color(display-p3 0.31151 0.26119 0.5462) |
| Rec. 2020 | color(rec2020 0.25929 0.20854 0.49607) |
| Adobe RGB | color(a98-rgb 0.30955 0.26629 0.55104) |
| ProPhoto RGB | color(prophoto-rgb 0.2811 0.21667 0.46212) |
| Linear sRGB | color(srgb-linear 0.08438 0.05448 0.27889) |
| XYZ D65 | color(xyz-d65 0.10461 0.07704 0.27322) |
| XYZ D50 | color(xyz-d50 0.09768 0.07474 0.20562) |
| SwiftUI | Color(red: 0.322, green: 0.259, blue: 0.565) |
| UIKit | UIColor(red: 0.322, green: 0.259, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF524290) |
| Android XML | #524290 |

## 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.27:1
- Contrast with black: 2.54:1

## Tints

#524290, #61549c, #7067a7, #8179b3, #918bbe, #a39ec9, #b4b1d4, #c7c4df, #d9d7ea, #ecebf4

## Shades

#524290, #46387d, #3b2f6a, #2f2557, #251c45, #1a1434, #110b24, #080515, #020107, #000001

## Tones

#524290, #52448a, #514684, #51487e, #514a78, #514c72, #514d6b, #514e65, #514f5f, #515158

## Harmonies

- Complementary: #524290, #575600
- Split: #524290, #714800, #266115
- Analogous: #524290, #244f94, #6e377b
- Triadic: #524290, #853700, #006448
- Tetradic: #524290, #812f5b, #575600, #006448
- Square: #524290, #892e34, #575600, #006065
- Monochromatic: #524290, #1a0047, #34206b, #7365b6, #9689de

## Questions about #524290

### What color is #524290?

#524290 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 66, 144), in HSL hsl(252.31, 37.14%, 41.18%) and in OKLCH oklch(43.65% 0.12384 289.714).

### What colors go well with #524290?

The complementary color of #524290 is #575600. For a calmer combination use the analogous colors #244f94 and #6e377b. The triadic partners are #853700 and #006448.

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

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

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

#524290 is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.7% and its chroma 0.124.
