Skip to the color picker

#52458b color: Moonlight Sonata

#52458b is rgb(82, 69, 139) in RGB and oklch(43.881% 0.11192 289.507) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

43.9%
0.112
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
8.13:1Readable · AA
Lc -93
Black text
2.58: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 #52458b

#52458b is a soft dark violet color. In OKLCH it has 43.9% lightness, 0.112 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

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

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

More dark violet colors

Lighter: #52458b mixed with white

Darker: #52458b mixed with black

Calmer: #52458b with less saturation

Similar named colors

Colors that go with #52458b

Complementary
Analogous
Triadic
Split

Questions about #52458b

What color is #52458b?

#52458b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 139), in HSL hsl(251.14, 33.65%, 40.78%) and in OKLCH oklch(43.881% 0.11192 289.507).

What colors go well with #52458b?

The complementary color of #52458b is #575600. For a calmer combination use the analogous colors #2a518f and #6c3b78. The triadic partners are #813b08 and #006548.

Is white or black text more readable on #52458b?

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

Is #52458b a warm or cool color?

#52458b is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.9% and its chroma 0.112.