Skip to the color picker

#54488e color: Moonlight Sonata

#54488e is rgb(84, 72, 142) in RGB and oklch(44.845% 0.11149 288.972) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

250°
100%

44.8%
0.111
289°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
7.79:1Readable · AA
Lc -92
Black text
2.69: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 #54488e

#54488e is a soft dark violet color. In OKLCH it has 44.8% lightness, 0.111 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.79:1 contrast and black text 2.69: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: #54488e mixed with white

Darker: #54488e mixed with black

Calmer: #54488e with less saturation

Similar named colors

Colors that go with #54488e

Complementary
Analogous
Triadic
Split

Questions about #54488e

What color is #54488e?

#54488e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(84, 72, 142), in HSL hsl(250.29, 32.71%, 41.96%) and in OKLCH oklch(44.845% 0.11149 288.972).

What colors go well with #54488e?

The complementary color of #54488e is #5a5900. For a calmer combination use the analogous colors #2c5492 and #6f3e7c. The triadic partners are #843e0f and #00684a.

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

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

Is #54488e a warm or cool color?

#54488e is a cool color. In OKLCH its hue is 289 degrees, its lightness 44.8% and its chroma 0.111.