Skip to the color picker

#52438f color: Moonlight Sonata

#52438f is rgb(82, 67, 143) in RGB and oklch(43.768% 0.12086 289.53) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

252°
100%

43.8%
0.121
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
8.21:1Readable · AA
Lc -93
Black text
2.56: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 #52438f

#52438f is a soft dark violet color. In OKLCH it has 43.8% lightness, 0.121 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.21:1 contrast and black text 2.56: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: #52438f mixed with white

Darker: #52438f mixed with black

Calmer: #52438f with less saturation

Similar named colors

Colors that go with #52438f

Complementary
Analogous
Triadic
Split

Questions about #52438f

What color is #52438f?

#52438f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 67, 143), in HSL hsl(251.84, 36.19%, 41.18%) and in OKLCH oklch(43.768% 0.12086 289.53).

What colors go well with #52438f?

The complementary color of #52438f is #575600. For a calmer combination use the analogous colors #265093 and #6e387b. The triadic partners are #843800 and #006448.

Is white or black text more readable on #52438f?

White text reads better on #52438f: white gives a contrast ratio of 8.21:1 and black gives 2.56:1. WCAG AA asks for at least 4.5:1 for body text.

Is #52438f a warm or cool color?

#52438f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.8% and its chroma 0.121.