Skip to the color picker

#4d4987 color: Moonlight Sonata

#4d4987 is rgb(77, 73, 135) in RGB and oklch(43.972% 0.09993 284.428) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

244°
100%

44%
0.100
284°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.02:1Readable · AA
Lc -92
Black text
2.62: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 #4d4987

#4d4987 is a soft dark indigo color. In OKLCH it has 44% lightness, 0.1 chroma and a hue of 284°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.02:1 contrast and black text 2.62: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 indigo colors

Lighter: #4d4987 mixed with white

Darker: #4d4987 mixed with black

Calmer: #4d4987 with less saturation

Similar named colors

Colors that go with #4d4987

Complementary
Analogous
Triadic
Split

Questions about #4d4987

What color is #4d4987?

#4d4987 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 135), in HSL hsl(243.87, 29.81%, 40.78%) and in OKLCH oklch(43.972% 0.09993 284.428).

What colors go well with #4d4987?

The complementary color of #4d4987 is #5c5400. For a calmer combination use the analogous colors #275388 and #674078. The triadic partners are #7e3e1f and #006344.

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

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

Is #4d4987 a warm or cool color?

#4d4987 is a cool color. In OKLCH its hue is 284 degrees, its lightness 44% and its chroma 0.1.