Skip to the color picker

#4e4786 color: Moonlight Sonata

#4e4786 is rgb(78, 71, 134) in RGB and oklch(43.588% 0.10148 286.472) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

247°
100%

43.6%
0.101
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Eggplant
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.17:1Readable · AA
Lc -93
Black text
2.57: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 #4e4786

#4e4786 is a soft dark violet color. In OKLCH it has 43.6% lightness, 0.101 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.17:1 contrast and black text 2.57: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: #4e4786 mixed with white

  1. 4e4786
  2. 5d5892
  3. 6d6a9f
  4. 7e7cab
  5. 8f8eb7
  6. a1a0c3
  7. b3b2cf
  8. c5c5db
  9. d8d8e7
  10. ebebf3

Darker: #4e4786 mixed with black

  1. 4e4786
  2. 433d74
  3. 383262
  4. 2d2851
  5. 231f40
  6. 191630
  7. 0f0d21
  8. 070613
  9. 020206
  10. 000001

Calmer: #4e4786 with less saturation

  1. 4e4786
  2. 4e4981
  3. 4e4a7c
  4. 4e4b77
  5. 4f4c72
  6. 4f4d6c
  7. 4f4e67
  8. 504f62
  9. 50505c
  10. 515157

Questions about #4e4786

What color is #4e4786?

#4e4786 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 71, 134), in HSL hsl(246.67, 30.73%, 40.2%) and in OKLCH oklch(43.588% 0.10148 286.472).

What colors go well with #4e4786?

The complementary color of #4e4786 is #595400. For a calmer combination use the analogous colors #295288 and #673e76. The triadic partners are #7d3d19 and #006245.

Is white or black text more readable on #4e4786?

White text reads better on #4e4786: white gives a contrast ratio of 8.17:1 and black gives 2.57:1. WCAG AA asks for at least 4.5:1 for body text.

Is #4e4786 a warm or cool color?

#4e4786 is a cool color. In OKLCH its hue is 286 degrees, its lightness 43.6% and its chroma 0.101.