Skip to the color picker

#5a4795 color: Liberty

#5a4795 is rgb(90, 71, 149) in RGB and oklch(45.679% 0.12315 292.022) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

255°
100%

45.7%
0.123
292°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Sapphire
  • slate-600
  • Black 42%

Inside sRGB: displays the same on any screen.

White text
7.58:1Readable · AA
Lc -91
Black text
2.77:1Hard to read
Lc 18

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 #5a4795

#5a4795 is a soft dark violet color. In OKLCH it has 45.7% lightness, 0.123 chroma and a hue of 292°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.58:1 contrast and black text 2.77:1, so white text reads better.

The closest named color is Liberty (#514b98). In Tailwind CSS the closest color is slate-600.

More dark violet colors

Lighter: #5a4795 mixed with white

Darker: #5a4795 mixed with black

Calmer: #5a4795 with less saturation

Similar named colors

Colors that go with #5a4795

Complementary
Analogous
Triadic
Split

Questions about #5a4795

What color is #5a4795?

#5a4795 is soft dark violet. The closest named color is Liberty. In RGB it is rgb(90, 71, 149), in HSL hsl(254.62, 35.45%, 43.14%) and in OKLCH oklch(45.679% 0.12315 292.022).

What colors go well with #5a4795?

The complementary color of #5a4795 is #5a5c00. For a calmer combination use the analogous colors #2f549b and #763c7f. The triadic partners are #8a3e00 and #006a50.

Is white or black text more readable on #5a4795?

White text reads better on #5a4795: white gives a contrast ratio of 7.58:1 and black gives 2.77:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5a4795 a warm or cool color?

#5a4795 is a cool color. In OKLCH its hue is 292 degrees, its lightness 45.7% and its chroma 0.123.