Skip to the color picker

#504494 color: Moonlight Sonata

#504494 is rgb(80, 68, 148) in RGB and oklch(44.12% 0.12657 286.891) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

249°
100%

44.1%
0.127
287°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 42%

Inside sRGB: displays the same on any screen.

White text
8.09:1Readable · AA
Lc -92
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 #504494

#504494 is a soft dark violet color. In OKLCH it has 44.1% lightness, 0.127 chroma and a hue of 287°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.09: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 blue-900.

More dark violet colors

Lighter: #504494 mixed with white

Darker: #504494 mixed with black

Calmer: #504494 with less saturation

Similar named colors

Colors that go with #504494

Complementary
Analogous
Triadic
Split

Questions about #504494

What color is #504494?

#504494 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 68, 148), in HSL hsl(249, 37.04%, 42.35%) and in OKLCH oklch(44.12% 0.12657 286.891).

What colors go well with #504494?

The complementary color of #504494 is #5b5600. For a calmer combination use the analogous colors #1d5197 and #6e3880. The triadic partners are #883600 and #006645.

Is white or black text more readable on #504494?

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

Is #504494 a warm or cool color?

#504494 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.1% and its chroma 0.127.