Skip to the color picker

#50478e color: Moonlight Sonata

#50478e is rgb(80, 71, 142) in RGB and oklch(44.286% 0.11326 286.618) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

44.3%
0.113
287°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
7.98:1Readable · AA
Lc -92
Black text
2.63:1Hard to read
Lc 17

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 #50478e

#50478e is a soft dark violet color. In OKLCH it has 44.3% lightness, 0.113 chroma and a hue of 287°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.98:1 contrast and black text 2.63: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: #50478e mixed with white

Darker: #50478e mixed with black

Calmer: #50478e with less saturation

Similar named colors

Colors that go with #50478e

Complementary
Analogous
Triadic
Split

Questions about #50478e

What color is #50478e?

#50478e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 71, 142), in HSL hsl(247.61, 33.33%, 41.76%) and in OKLCH oklch(44.286% 0.11326 286.618).

What colors go well with #50478e?

The complementary color of #50478e is #5c5600. For a calmer combination use the analogous colors #255390 and #6c3d7c. The triadic partners are #843b0f and #006645.

Is white or black text more readable on #50478e?

White text reads better on #50478e: white gives a contrast ratio of 7.98:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.

Is #50478e a warm or cool color?

#50478e is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.3% and its chroma 0.113.