Skip to the color picker

#504788 color: Moonlight Sonata

#504788 is rgb(80, 71, 136) in RGB and oklch(43.896% 0.10436 287.653) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

43.9%
0.104
288°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Eggplant
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.08:1Readable · AA
Lc -93
Black text
2.60: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 #504788

#504788 is a soft dark violet color. In OKLCH it has 43.9% lightness, 0.104 chroma and a hue of 288°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.08:1 contrast and black text 2.6: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: #504788 mixed with white

Darker: #504788 mixed with black

Calmer: #504788 with less saturation

Similar named colors

Colors that go with #504788

Complementary
Analogous
Triadic
Split

Questions about #504788

What color is #504788?

#504788 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 71, 136), in HSL hsl(248.31, 31.4%, 40.59%) and in OKLCH oklch(43.896% 0.10436 287.653).

What colors go well with #504788?

The complementary color of #504788 is #595500. For a calmer combination use the analogous colors #2a528b and #693e77. The triadic partners are #7f3d16 and #006447.

Is white or black text more readable on #504788?

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

Is #504788 a warm or cool color?

#504788 is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.9% and its chroma 0.104.