Skip to the color picker

#504889 color: Moonlight Sonata

#504889 is rgb(80, 72, 137) in RGB and oklch(44.16% 0.10426 286.958) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

247°
100%

44.2%
0.104
287°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
7.99:1Readable · AA
Lc -92
Black text
2.63: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 #504889

#504889 is a soft dark violet color. In OKLCH it has 44.2% lightness, 0.104 chroma and a hue of 287°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.99:1 contrast and black text 2.63: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: #504889 mixed with white

Darker: #504889 mixed with black

Calmer: #504889 with less saturation

Similar named colors

Colors that go with #504889

Complementary
Analogous
Triadic
Split

Questions about #504889

What color is #504889?

#504889 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 72, 137), in HSL hsl(247.38, 31.1%, 40.98%) and in OKLCH oklch(44.16% 0.10426 286.958).

What colors go well with #504889?

The complementary color of #504889 is #5a5600. For a calmer combination use the analogous colors #2a538b and #6a3f79. The triadic partners are #803e18 and #006446.

Is white or black text more readable on #504889?

White text reads better on #504889: white gives a contrast ratio of 7.99:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.

Is #504889 a warm or cool color?

#504889 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.2% and its chroma 0.104.