Skip to the color picker

#4c438b color: Moonlight Sonata

#4c438b is rgb(76, 67, 139) in RGB and oklch(42.944% 0.11536 286.184) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

42.9%
0.115
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
8.46:1Readable · AA
Lc -94
Black text
2.48: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 #4c438b

#4c438b is a soft dark violet color. In OKLCH it has 42.9% lightness, 0.115 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.46:1 contrast and black text 2.48: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: #4c438b mixed with white

Darker: #4c438b mixed with black

Calmer: #4c438b with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #4c438b

Complementary
Analogous
Triadic
Split

Questions about #4c438b

What color is #4c438b?

#4c438b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 67, 139), in HSL hsl(247.5, 34.95%, 40.39%) and in OKLCH oklch(42.944% 0.11536 286.184).

What colors go well with #4c438b?

The complementary color of #4c438b is #585200. For a calmer combination use the analogous colors #1f4f8d and #683879. The triadic partners are #813608 and #006241.

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

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

Is #4c438b a warm or cool color?

#4c438b is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.9% and its chroma 0.115.