Skip to the color picker

#504590 color: Moonlight Sonata

#504590 is rgb(80, 69, 144) in RGB and oklch(44.033% 0.11928 287.171) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

249°
100%

44%
0.119
287°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 44%

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

#504590 is a soft dark violet color. In OKLCH it has 44% lightness, 0.119 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: #504590 mixed with white

Darker: #504590 mixed with black

Calmer: #504590 with less saturation

Similar named colors

Colors that go with #504590

Complementary
Analogous
Triadic
Split

Questions about #504590

What color is #504590?

#504590 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 144), in HSL hsl(248.8, 35.21%, 41.76%) and in OKLCH oklch(44.033% 0.11928 287.171).

What colors go well with #504590?

The complementary color of #504590 is #5a5600. For a calmer combination use the analogous colors #225293 and #6d3a7d. The triadic partners are #853903 and #006545.

Is white or black text more readable on #504590?

White text reads better on #504590: 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 #504590 a warm or cool color?

#504590 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44% and its chroma 0.119.