Skip to the color picker

#504290 color: Moonlight Sonata

#504290 is rgb(80, 66, 144) in RGB and oklch(43.463% 0.1239 288.396) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

43.5%
0.124
288°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
8.32:1Readable · AA
Lc -93
Black text
2.52:1Hard to read
Lc 15

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 #504290

#504290 is a soft dark violet color. In OKLCH it has 43.5% lightness, 0.124 chroma and a hue of 288°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.32:1 contrast and black text 2.52:1, so white text reads better.

The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is blue-900.

More dark violet colors

Lighter: #504290 mixed with white

Darker: #504290 mixed with black

Calmer: #504290 with less saturation

Similar named colors

  • Nauseous Blue#483d8b

Colors that go with #504290

Complementary
Analogous
Triadic
Split

Questions about #504290

What color is #504290?

#504290 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 66, 144), in HSL hsl(250.77, 37.14%, 41.18%) and in OKLCH oklch(43.463% 0.1239 288.396).

What colors go well with #504290?

The complementary color of #504290 is #575500. For a calmer combination use the analogous colors #214f94 and #6d377c. The triadic partners are #853600 and #006346.

Is white or black text more readable on #504290?

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

Is #504290 a warm or cool color?

#504290 is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.5% and its chroma 0.124.