Skip to the color picker

#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.

Read as HEX

252°
100%

43.7%
0.125
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 43%

Inside sRGB: displays the same on any screen.

White text
8.25:1Readable · AA
Lc -93
Black text
2.55: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 #524291

#524291 is a soft dark violet color. In OKLCH it has 43.7% lightness, 0.125 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.25:1 contrast and black text 2.55: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: #524291 mixed with white

Darker: #524291 mixed with black

Calmer: #524291 with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #524291

Complementary
Analogous
Triadic
Split

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.