Skip to the color picker

#4f478c color: Moonlight Sonata

#4f478c is rgb(79, 71, 140) in RGB and oklch(44.065% 0.11038 286.239) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

247°
100%

44.1%
0.110
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
8.04:1Readable · AA
Lc -92
Black text
2.61: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 #4f478c

#4f478c is a soft dark violet color. In OKLCH it has 44.1% lightness, 0.11 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.04:1 contrast and black text 2.61: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: #4f478c mixed with white

Darker: #4f478c mixed with black

Calmer: #4f478c with less saturation

Similar named colors

Colors that go with #4f478c

Complementary
Analogous
Triadic
Split

Questions about #4f478c

What color is #4f478c?

#4f478c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 71, 140), in HSL hsl(246.96, 32.7%, 41.37%) and in OKLCH oklch(44.065% 0.11038 286.239).

What colors go well with #4f478c?

The complementary color of #4f478c is #5b5500. For a calmer combination use the analogous colors #25538e and #6a3d7b. The triadic partners are #823b13 and #006545.

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

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

Is #4f478c a warm or cool color?

#4f478c is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.1% and its chroma 0.11.