Skip to the color picker

#51418f color: Moonlight Sonata

#51418f is rgb(81, 65, 143) in RGB and oklch(43.301% 0.12399 289.643) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

252°
100%

43.3%
0.124
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • indigo-900
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
8.39:1Readable · AA
Lc -93
Black text
2.50:1Hard to read
Lc 15

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 #51418f

#51418f is a soft dark violet color. In OKLCH it has 43.3% lightness, 0.124 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

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

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

More dark violet colors

Lighter: #51418f mixed with white

Darker: #51418f mixed with black

Calmer: #51418f with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #51418f

Complementary
Analogous
Triadic
Split

Questions about #51418f

What color is #51418f?

#51418f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 65, 143), in HSL hsl(252.31, 37.5%, 40.78%) and in OKLCH oklch(43.301% 0.12399 289.643).

What colors go well with #51418f?

The complementary color of #51418f is #565500. For a calmer combination use the analogous colors #234e93 and #6d367a. The triadic partners are #843600 and #006347.

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

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

Is #51418f a warm or cool color?

#51418f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.3% and its chroma 0.124.