# #524291 color: Moonlight Sonata

#524291 is rgb(82, 66, 145) in RGB and oklch(43.72% 0.12526 289.508) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #524291 |
| RGB | rgb(82, 66, 145) |
| HSL | hsl(252.15, 37.44%, 41.37%) |
| HSB / HSV | hsv(252.15 54.48% 56.86%) |
| HWB | hwb(252.15 25.88% 43.14%) |
| CMYK | cmyk(43% 54% 0% 43%) |
| Lab | lab(32.92 22.71 -42.13) |
| LCH | lch(32.92 47.86 298.32) |
| OKLab | oklab(43.72% 0.04183 -0.11807) |
| OKLCH | oklch(43.72% 0.12526 289.508) |
| Display P3 | color(display-p3 0.31151 0.26119 0.54993) |
| Rec. 2020 | color(rec2020 0.25965 0.20865 0.50005) |
| Adobe RGB | color(a98-rgb 0.30955 0.26629 0.55482) |
| ProPhoto RGB | color(prophoto-rgb 0.28202 0.21689 0.4659) |
| Linear sRGB | color(srgb-linear 0.08438 0.05448 0.28315) |
| XYZ D65 | color(xyz-d65 0.10538 0.07735 0.27727) |
| XYZ D50 | color(xyz-d50 0.09829 0.07499 0.20866) |
| SwiftUI | Color(red: 0.322, green: 0.259, blue: 0.569) |
| UIKit | UIColor(red: 0.322, green: 0.259, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF524291) |
| Android XML | #524291 |

## 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.25:1
- Contrast with black: 2.55:1

## Tints

#524291, #61549d, #7067a8, #8179b3, #918bbe, #a39ec9, #b4b1d4, #c6c4df, #d9d8ea, #ecebf4

## Shades

#524291, #46387d, #3b2f6a, #2f2558, #251c46, #1a1435, #110b25, #080515, #020107, #000001

## Tones

#524291, #52448b, #514785, #51487f, #514a78, #514c72, #514d6c, #514f66, #51505f, #515158

## Harmonies

- Complementary: #524291, #575600
- Split: #524291, #714900, #266113
- Analogous: #524291, #234f95, #6f377c
- Triadic: #524291, #863700, #006448
- Tetradic: #524291, #812e5c, #575600, #006448
- Square: #524291, #892d34, #575600, #006066
- Monochromatic: #524291, #1a0048, #34206c, #7365b7, #9689df

## Questions about #524291

### What color is #524291?

#524291 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 66, 145), in HSL hsl(252.15, 37.44%, 41.37%) and in OKLCH oklch(43.72% 0.12526 289.508).

### What colors go well with #524291?

The complementary color of #524291 is #575600. For a calmer combination use the analogous colors #234f95 and #6f377c. The triadic partners are #863700 and #006448.

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

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

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

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