Skip to the color picker

#504a8e color: Moonlight Sonata

#504a8e is rgb(80, 74, 142) in RGB and oklch(44.882% 0.10859 285.152) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

245°
100%

44.9%
0.109
285°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
7.75:1Readable · AA
Lc -92
Black text
2.71:1Hard to read
Lc 17

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 #504a8e

#504a8e is a soft dark indigo color. In OKLCH it has 44.9% lightness, 0.109 chroma and a hue of 285°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.75:1 contrast and black text 2.71: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: #504a8e mixed with white

Darker: #504a8e mixed with black

Calmer: #504a8e with less saturation

Similar named colors

Colors that go with #504a8e

Complementary
Analogous
Triadic
Split

Questions about #504a8e

What color is #504a8e?

#504a8e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 74, 142), in HSL hsl(245.29, 31.48%, 42.35%) and in OKLCH oklch(44.882% 0.10859 285.152).

What colors go well with #504a8e?

The complementary color of #504a8e is #5e5700. For a calmer combination use the analogous colors #265590 and #6b407e. The triadic partners are #843e19 and #006746.

Is white or black text more readable on #504a8e?

White text reads better on #504a8e: white gives a contrast ratio of 7.75:1 and black gives 2.71:1. WCAG AA asks for at least 4.5:1 for body text.

Is #504a8e a warm or cool color?

#504a8e is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.9% and its chroma 0.109.