Skip to the color picker

#524492 color: Moonlight Sonata

#524492 is rgb(82, 68, 146) in RGB and oklch(44.163% 0.12361 288.539) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

44.2%
0.124
289°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 43%

Inside sRGB: displays the same on any screen.

White text
8.07:1Readable · AA
Lc -92
Black text
2.60:1Hard to read
Lc 16

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #524492

#524492 is a soft dark violet color. In OKLCH it has 44.2% lightness, 0.124 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.07:1 contrast and black text 2.6:1, so white text reads better.

The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is blue-900.

More dark violet colors

Lighter: #524492 mixed with white

Darker: #524492 mixed with black

Calmer: #524492 with less saturation

Similar named colors

Colors that go with #524492

Complementary
Analogous
Triadic
Split

Questions about #524492

What color is #524492?

#524492 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 68, 146), in HSL hsl(250.77, 36.45%, 41.96%) and in OKLCH oklch(44.163% 0.12361 288.539).

What colors go well with #524492?

The complementary color of #524492 is #595700. For a calmer combination use the analogous colors #235196 and #6f397e. The triadic partners are #873800 and #006648.

Is white or black text more readable on #524492?

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

Is #524492 a warm or cool color?

#524492 is a cool color. In OKLCH its hue is 289 degrees, its lightness 44.2% and its chroma 0.124.