Skip to the color picker

#4f4189 color: Moonlight Sonata

#4f4189 is rgb(79, 65, 137) in RGB and oklch(42.697% 0.11541 289.539) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

252°
100%

42.7%
0.115
290°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • indigo-900
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
8.57:1Readable · AA
Lc -94
Black text
2.45: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 #4f4189

#4f4189 is a soft dark violet color. In OKLCH it has 42.7% lightness, 0.115 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.57:1 contrast and black text 2.45: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: #4f4189 mixed with white

Darker: #4f4189 mixed with black

Calmer: #4f4189 with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #4f4189

Complementary
Analogous
Triadic
Split

Questions about #4f4189

What color is #4f4189?

#4f4189 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 65, 137), in HSL hsl(251.67, 35.64%, 39.61%) and in OKLCH oklch(42.697% 0.11541 289.539).

What colors go well with #4f4189?

The complementary color of #4f4189 is #545300. For a calmer combination use the analogous colors #254d8d and #6a3776. The triadic partners are #7f3700 and #006145.

Is white or black text more readable on #4f4189?

White text reads better on #4f4189: white gives a contrast ratio of 8.57:1 and black gives 2.45:1. WCAG AA asks for at least 4.5:1 for body text.

Is #4f4189 a warm or cool color?

#4f4189 is a cool color. In OKLCH its hue is 290 degrees, its lightness 42.7% and its chroma 0.115.