Skip to the color picker

#52428f color: Moonlight Sonata

#52428f is rgb(82, 66, 143) in RGB and oklch(43.581% 0.12242 289.924) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

252°
100%

43.6%
0.122
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
8.29:1Readable · AA
Lc -93
Black text
2.53: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 #52428f

#52428f is a soft dark violet color. In OKLCH it has 43.6% lightness, 0.122 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.29:1 contrast and black text 2.53: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: #52428f mixed with white

Darker: #52428f mixed with black

Calmer: #52428f with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #52428f

Complementary
Analogous
Triadic
Split

Questions about #52428f

What color is #52428f?

#52428f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 66, 143), in HSL hsl(252.47, 36.84%, 40.98%) and in OKLCH oklch(43.581% 0.12242 289.924).

What colors go well with #52428f?

The complementary color of #52428f is #565600. For a calmer combination use the analogous colors #254f94 and #6e377b. The triadic partners are #843700 and #006448.

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

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

Is #52428f a warm or cool color?

#52428f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.6% and its chroma 0.122.