# #524392 color: Moonlight Sonata

#524392 is rgb(82, 67, 146) in RGB and oklch(43.976% 0.12514 288.927) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #524392 |
| RGB | rgb(82, 67, 146) |
| HSL | hsl(251.39, 37.09%, 41.76%) |
| HSB / HSV | hsv(251.39 54.11% 57.25%) |
| HWB | hwb(251.39 26.27% 42.75%) |
| CMYK | cmyk(44% 54% 0% 43%) |
| Lab | lab(33.23 22.35 -42.25) |
| LCH | lch(33.23 47.79 297.88) |
| OKLab | oklab(43.976% 0.04059 -0.11838) |
| OKLCH | oklch(43.976% 0.12514 288.927) |
| Display P3 | color(display-p3 0.31208 0.26495 0.55377) |
| Rec. 2020 | color(rec2020 0.26106 0.21229 0.50417) |
| Adobe RGB | color(a98-rgb 0.31042 0.26993 0.55866) |
| ProPhoto RGB | color(prophoto-rgb 0.28377 0.21982 0.46989) |
| Linear sRGB | color(srgb-linear 0.08438 0.05613 0.28744) |
| XYZ D65 | color(xyz-d65 0.10674 0.07883 0.28154) |
| XYZ D50 | color(xyz-d50 0.09954 0.07644 0.21189) |
| SwiftUI | Color(red: 0.322, green: 0.263, blue: 0.573) |
| UIKit | UIColor(red: 0.322, green: 0.263, blue: 0.573, alpha: 1) |
| Flutter / Compose | Color(0xFF524392) |
| Android XML | #524392 |

## 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.15:1
- Contrast with black: 2.58:1

## Tints

#524392, #61559d, #7068a9, #817ab4, #918cbf, #a39fca, #b4b1d5, #c6c4e0, #d9d8ea, #ecebf5

## Shades

#524392, #46397e, #3b2f6b, #2f2658, #251d46, #1a1435, #110c25, #080516, #020108, #000001

## Tones

#524392, #52458c, #514786, #514980, #514b79, #514d73, #514e6d, #514f66, #525060, #525159

## Harmonies

- Complementary: #524392, #585600
- Split: #524392, #724900, #286212
- Analogous: #524392, #235096, #6f387d
- Triadic: #524392, #873700, #006548
- Tetradic: #524392, #822f5d, #585600, #006548
- Square: #524392, #8a2e36, #585600, #006166
- Monochromatic: #524392, #1a0049, #34216d, #7366b9, #968ae0

## Questions about #524392

### What color is #524392?

#524392 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 67, 146), in HSL hsl(251.39, 37.09%, 41.76%) and in OKLCH oklch(43.976% 0.12514 288.927).

### What colors go well with #524392?

The complementary color of #524392 is #585600. For a calmer combination use the analogous colors #235096 and #6f387d. The triadic partners are #873700 and #006548.

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

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

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

#524392 is a cool color. In OKLCH its hue is 289 degrees, its lightness 44% and its chroma 0.125.
