Skip to the color picker

#5f4297 color: Sweet Flag

#5f4297 is rgb(95, 66, 151) in RGB and oklch(45.423% 0.13415 296.41) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

260°
100%

45.4%
0.134
296°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Sapphire
  • purple-900
  • Black 41%

Inside sRGB: displays the same on any screen.

White text
7.74:1Readable · AA
Lc -91
Black text
2.71: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 #5f4297

#5f4297 is a soft dark violet color. In OKLCH it has 45.4% lightness, 0.134 chroma and a hue of 296°.

Inside sRGB: displays the same on any screen.

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

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

More dark violet colors

Lighter: #5f4297 mixed with white

Darker: #5f4297 mixed with black

Calmer: #5f4297 with less saturation

Similar named colors

Colors that go with #5f4297

Complementary
Analogous
Triadic
Split

Questions about #5f4297

What color is #5f4297?

#5f4297 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 151), in HSL hsl(260.47, 39.17%, 42.55%) and in OKLCH oklch(45.423% 0.13415 296.41).

What colors go well with #5f4297?

The complementary color of #5f4297 is #535e00. For a calmer combination use the analogous colors #3450a0 and #7b367d. The triadic partners are #8b3d00 and #006955.

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

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

Is #5f4297 a warm or cool color?

#5f4297 is a cool color. In OKLCH its hue is 296 degrees, its lightness 45.4% and its chroma 0.134.