Skip to the color picker

#50498a color: Moonlight Sonata

#50498a is rgb(80, 73, 138) in RGB and oklch(44.425% 0.10417 286.267) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

246°
100%

44.4%
0.104
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
7.89:1Readable · AA
Lc -92
Black text
2.66: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 #50498a

#50498a is a soft dark violet color. In OKLCH it has 44.4% lightness, 0.104 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.89:1 contrast and black text 2.66: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: #50498a mixed with white

Darker: #50498a mixed with black

Calmer: #50498a with less saturation

Similar named colors

Colors that go with #50498a

Complementary
Analogous
Triadic
Split

Questions about #50498a

What color is #50498a?

#50498a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 73, 138), in HSL hsl(246.46, 30.81%, 41.37%) and in OKLCH oklch(44.425% 0.10417 286.267).

What colors go well with #50498a?

The complementary color of #50498a is #5c5600. For a calmer combination use the analogous colors #29548c and #6a3f7a. The triadic partners are #813e1a and #006546.

Is white or black text more readable on #50498a?

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

Is #50498a a warm or cool color?

#50498a is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.4% and its chroma 0.104.