Skip to the color picker

#504588 color: Moonlight Sonata

#504588 is rgb(80, 69, 136) in RGB and oklch(43.499% 0.10756 288.653) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

250°
100%

43.5%
0.108
289°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.24:1Readable · AA
Lc -93
Black text
2.55: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 #504588

#504588 is a soft dark violet color. In OKLCH it has 43.5% lightness, 0.108 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.24:1 contrast and black text 2.55: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: #504588 mixed with white

Darker: #504588 mixed with black

Calmer: #504588 with less saturation

Similar named colors

Colors that go with #504588

Complementary
Analogous
Triadic
Split

Questions about #504588

What color is #504588?

#504588 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 136), in HSL hsl(249.85, 32.68%, 40.2%) and in OKLCH oklch(43.499% 0.10756 288.653).

What colors go well with #504588?

The complementary color of #504588 is #575500. For a calmer combination use the analogous colors #29508b and #6a3b76. The triadic partners are #7f3b0f and #006346.

Is white or black text more readable on #504588?

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

Is #504588 a warm or cool color?

#504588 is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.5% and its chroma 0.108.