Skip to the color picker

#50488c color: Moonlight Sonata

#50488c is rgb(80, 72, 140) in RGB and oklch(44.353% 0.10874 286.462) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

247°
100%

44.4%
0.109
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
7.93:1Readable · AA
Lc -92
Black text
2.65:1Hard to read
Lc 17

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #50488c

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

Inside sRGB: displays the same on any screen.

White text on it reaches 7.93:1 contrast and black text 2.65: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: #50488c mixed with white

  1. 50488c
  2. 5f5998
  3. 6f6ba4
  4. 7f7daf
  5. 908fbb
  6. a2a1c6
  7. b4b3d2
  8. c6c6dd
  9. d9d9e8
  10. ececf4

Darker: #50488c mixed with black

  1. 50488c
  2. 443d79
  3. 393367
  4. 2e2955
  5. 241f43
  6. 1a1633
  7. 100d23
  8. 070614
  9. 020207
  10. 000001

Calmer: #50488c with less saturation

  1. 50488c
  2. 504a87
  3. 504b81
  4. 504d7c
  5. 514e76
  6. 514f70
  7. 51506b
  8. 525165
  9. 52525f
  10. 535359

Questions about #50488c

What color is #50488c?

#50488c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 72, 140), in HSL hsl(247.06, 32.08%, 41.57%) and in OKLCH oklch(44.353% 0.10874 286.462).

What colors go well with #50488c?

The complementary color of #50488c is #5c5600. For a calmer combination use the analogous colors #27538e and #6b3e7b. The triadic partners are #823d15 and #006646.

Is white or black text more readable on #50488c?

White text reads better on #50488c: white gives a contrast ratio of 7.93:1 and black gives 2.65:1. WCAG AA asks for at least 4.5:1 for body text.

Is #50488c a warm or cool color?

#50488c is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.4% and its chroma 0.109.