# #524591 color: Moonlight Sonata

#524591 is rgb(82, 69, 145) in RGB and oklch(44.283% 0.12063 288.325) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #524591 |
| RGB | rgb(82, 69, 145) |
| HSL | hsl(250.26, 35.51%, 41.96%) |
| HSB / HSV | hsv(250.26 52.41% 56.86%) |
| HWB | hwb(250.26 27.06% 43.14%) |
| CMYK | cmyk(43% 52% 0% 43%) |
| Lab | lab(33.69 20.91 -40.9) |
| LCH | lch(33.69 45.94 297.07) |
| OKLab | oklab(44.283% 0.03793 -0.11451) |
| OKLCH | oklch(44.283% 0.12063 288.325) |
| Display P3 | color(display-p3 0.31323 0.27246 0.55028) |
| Rec. 2020 | color(rec2020 0.26285 0.21926 0.50051) |
| Adobe RGB | color(a98-rgb 0.3122 0.27721 0.55501) |
| ProPhoto RGB | color(prophoto-rgb 0.28455 0.22506 0.46651) |
| Linear sRGB | color(srgb-linear 0.08438 0.05951 0.28315) |
| XYZ D65 | color(xyz-d65 0.10718 0.08094 0.27787) |
| XYZ D50 | color(xyz-d50 0.10023 0.0786 0.20915) |
| SwiftUI | Color(red: 0.322, green: 0.271, blue: 0.569) |
| UIKit | UIColor(red: 0.322, green: 0.271, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF524591) |
| Android XML | #524591 |

## 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.02:1
- Contrast with black: 2.62:1

## Tints

#524591, #61579d, #7069a8, #817bb3, #918dbe, #a3a0c9, #b4b2d4, #c7c5df, #d9d8ea, #ecebf4

## Shades

#524591, #463b7d, #3b316a, #2f2758, #251e46, #1a1535, #110c25, #080515, #020207, #000001

## Tones

#524591, #52478b, #524985, #524b7f, #524c79, #524e73, #524f6d, #525067, #525160, #53525a

## Harmonies

- Complementary: #524591, #5a5700
- Split: #524591, #744900, #2c6217
- Analogous: #524591, #255295, #6e3a7d
- Triadic: #524591, #863900, #006648
- Tetradic: #524591, #81325f, #5a5700, #006648
- Square: #524591, #893139, #5a5700, #006266
- Monochromatic: #524591, #1a0048, #34236c, #7368b7, #968cdf

## Questions about #524591

### What color is #524591?

#524591 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 145), in HSL hsl(250.26, 35.51%, 41.96%) and in OKLCH oklch(44.283% 0.12063 288.325).

### What colors go well with #524591?

The complementary color of #524591 is #5a5700. For a calmer combination use the analogous colors #255295 and #6e3a7d. The triadic partners are #863900 and #006648.

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

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

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

#524591 is a cool color. In OKLCH its hue is 288 degrees, its lightness 44.3% and its chroma 0.121.
