Skip to the color picker

#4c4286 color: Moonlight Sonata

#4c4286 is rgb(76, 66, 134) in RGB and oklch(42.408% 0.10955 287.53) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

249°
100%

42.4%
0.110
288°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.64:1Readable · AA
Lc -94
Black text
2.43:1Hard to read
Lc 14

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 #4c4286

#4c4286 is a soft dark violet color. In OKLCH it has 42.4% lightness, 0.11 chroma and a hue of 288°.

Inside sRGB: displays the same on any screen.

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

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

More dark violet colors

Lighter: #4c4286 mixed with white

Darker: #4c4286 mixed with black

Calmer: #4c4286 with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #4c4286

Complementary
Analogous
Triadic
Split

Questions about #4c4286

What color is #4c4286?

#4c4286 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 66, 134), in HSL hsl(248.82, 34%, 39.22%) and in OKLCH oklch(42.408% 0.10955 287.53).

What colors go well with #4c4286?

The complementary color of #4c4286 is #555100. For a calmer combination use the analogous colors #234d89 and #663875. The triadic partners are #7c370a and #006042.

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

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

Is #4c4286 a warm or cool color?

#4c4286 is a cool color. In OKLCH its hue is 288 degrees, its lightness 42.4% and its chroma 0.11.