Skip to the color picker

#51438e color: Moonlight Sonata

#51438e is rgb(81, 67, 142) in RGB and oklch(43.606% 0.11945 289.056) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

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

Inside sRGB: displays the same on any screen.

White text
8.26:1Readable · AA
Lc -93
Black text
2.54:1Hard to read
Lc 16

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

#51438e is a soft dark violet color. In OKLCH it has 43.6% lightness, 0.119 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.26:1 contrast and black text 2.54: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: #51438e mixed with white

  1. 51438e
  2. 60559a
  3. 7067a5
  4. 8079b1
  5. 918cbc
  6. a29ec8
  7. b4b1d3
  8. c6c4de
  9. d9d8e9
  10. ecebf4

Darker: #51438e mixed with black

  1. 51438e
  2. 45397b
  3. 3a2f68
  4. 2f2656
  5. 241d44
  6. 1a1434
  7. 100c24
  8. 070515
  9. 020107
  10. 000001

Calmer: #51438e with less saturation

  1. 51438e
  2. 514588
  3. 504782
  4. 50497c
  5. 504b76
  6. 504c70
  7. 504d6a
  8. 504e64
  9. 51505e
  10. 515058

Questions about #51438e

What color is #51438e?

#51438e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 67, 142), in HSL hsl(251.2, 35.89%, 40.98%) and in OKLCH oklch(43.606% 0.11945 289.056).

What colors go well with #51438e?

The complementary color of #51438e is #575500. For a calmer combination use the analogous colors #255092 and #6d387a. The triadic partners are #833800 and #006447.

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

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

Is #51438e a warm or cool color?

#51438e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.6% and its chroma 0.119.