Skip to the color picker

#4f4786 color: Moonlight Sonata

#4f4786 is rgb(79, 71, 134) in RGB and oklch(43.678% 0.10141 287.245) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

43.7%
0.101
287°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Eggplant
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.15:1Readable · AA
Lc -93
Black text
2.58: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 #4f4786

#4f4786 is a soft dark violet color. In OKLCH it has 43.7% lightness, 0.101 chroma and a hue of 287°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.15:1 contrast and black text 2.58: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: #4f4786 mixed with white

Darker: #4f4786 mixed with black

Calmer: #4f4786 with less saturation

Similar named colors

Colors that go with #4f4786

Complementary
Analogous
Triadic
Split

Questions about #4f4786

What color is #4f4786?

#4f4786 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 71, 134), in HSL hsl(247.62, 30.73%, 40.2%) and in OKLCH oklch(43.678% 0.10141 287.245).

What colors go well with #4f4786?

The complementary color of #4f4786 is #585500. For a calmer combination use the analogous colors #2a5288 and #683e76. The triadic partners are #7d3d19 and #006346.

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

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

Is #4f4786 a warm or cool color?

#4f4786 is a cool color. In OKLCH its hue is 287 degrees, its lightness 43.7% and its chroma 0.101.