Skip to the color picker

#52488d color: Moonlight Sonata

#52488d is rgb(82, 72, 141) in RGB and oklch(44.597% 0.11009 287.728) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

249°
100%

44.6%
0.110
288°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
7.86:1Readable · AA
Lc -92
Black text
2.67:1Hard to read
Lc 17

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 #52488d

#52488d is a soft dark violet color. In OKLCH it has 44.6% lightness, 0.11 chroma and a hue of 288°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.86:1 contrast and black text 2.67: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: #52488d mixed with white

Darker: #52488d mixed with black

Calmer: #52488d with less saturation

Similar named colors

Colors that go with #52488d

Complementary
Analogous
Triadic
Split

Questions about #52488d

What color is #52488d?

#52488d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 72, 141), in HSL hsl(248.7, 32.39%, 41.76%) and in OKLCH oklch(44.597% 0.11009 287.728).

What colors go well with #52488d?

The complementary color of #52488d is #5b5700. For a calmer combination use the analogous colors #2a5490 and #6d3e7b. The triadic partners are #833d12 and #006748.

Is white or black text more readable on #52488d?

White text reads better on #52488d: white gives a contrast ratio of 7.86:1 and black gives 2.67:1. WCAG AA asks for at least 4.5:1 for body text.

Is #52488d a warm or cool color?

#52488d is a cool color. In OKLCH its hue is 288 degrees, its lightness 44.6% and its chroma 0.11.