Skip to the color picker

#51428e color: Moonlight Sonata

#51428e is rgb(81, 66, 142) in RGB and oklch(43.418% 0.12101 289.461) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

252°
100%

43.4%
0.121
289°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
8.33:1Readable · AA
Lc -93
Black text
2.52:1Hard to read
Lc 15

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

#51428e is a soft dark violet color. In OKLCH it has 43.4% lightness, 0.121 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.33:1 contrast and black text 2.52: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: #51428e mixed with white

  1. 51428e
  2. 60549a
  3. 7067a5
  4. 8079b1
  5. 918bbc
  6. a29ec8
  7. b4b1d3
  8. c6c4de
  9. d9d7e9
  10. ecebf4

Darker: #51428e mixed with black

  1. 51428e
  2. 45387b
  3. 3a2f68
  4. 2f2556
  5. 241c44
  6. 1a1434
  7. 100b24
  8. 070515
  9. 020107
  10. 000001

Calmer: #51428e with less saturation

  1. 51428e
  2. 514488
  3. 504682
  4. 50487c
  5. 504a76
  6. 504b70
  7. 504d6a
  8. 504e64
  9. 504f5e
  10. 505057

Questions about #51428e

What color is #51428e?

#51428e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 66, 142), in HSL hsl(251.84, 36.54%, 40.78%) and in OKLCH oklch(43.418% 0.12101 289.461).

What colors go well with #51428e?

The complementary color of #51428e is #565500. For a calmer combination use the analogous colors #244f92 and #6d377a. The triadic partners are #833700 and #006347.

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

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

Is #51428e a warm or cool color?

#51428e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.4% and its chroma 0.121.