Skip to the color picker

#5f4795 color: Sweet Flag

#5f4795 is rgb(95, 71, 149) in RGB and oklch(46.171% 0.12347 295.336) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

46.2%
0.123
295°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Sapphire
  • slate-600
  • Black 42%

Inside sRGB: displays the same on any screen.

White text
7.44:1Readable · AA
Lc -90
Black text
2.82: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 #5f4795

#5f4795 is a soft dark violet color. In OKLCH it has 46.2% lightness, 0.123 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Sweet Flag (#674196). In Tailwind CSS the closest color is slate-600.

More dark violet colors

Lighter: #5f4795 mixed with white

Darker: #5f4795 mixed with black

Calmer: #5f4795 with less saturation

Similar named colors

Colors that go with #5f4795

Complementary
Analogous
Triadic
Split

Questions about #5f4795

What color is #5f4795?

#5f4795 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 149), in HSL hsl(258.46, 35.45%, 43.14%) and in OKLCH oklch(46.171% 0.12347 295.336).

What colors go well with #5f4795?

The complementary color of #5f4795 is #575f00. For a calmer combination use the analogous colors #36549d and #7a3c7e. The triadic partners are #8b4100 and #006b55.

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

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

Is #5f4795 a warm or cool color?

#5f4795 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.2% and its chroma 0.123.