#5f4797 color: Sweet Flag
#5f4797 is rgb(95, 71, 151) in RGB and oklch(46.302% 0.12623 294.819) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Dark
- Soft
- Cool
- ≈ Sapphire
- slate-600
- Black 41%
Inside sRGB: displays the same on any screen.
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 #5f4797
#5f4797 is a soft dark violet color. In OKLCH it has 46.3% lightness, 0.126 chroma and a hue of 295°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.41:1 contrast and black text 2.83:1, so white text reads better.
The closest named color is Sweet Flag (#674196). In Tailwind CSS the closest color is slate-600.
Lighter: #5f4797 mixed with white
Darker: #5f4797 mixed with black
Calmer: #5f4797 with less saturation
Similar named colors
Colors that go with #5f4797
Questions about #5f4797
What color is #5f4797?
#5f4797 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 151), in HSL hsl(258, 36.04%, 43.53%) and in OKLCH oklch(46.302% 0.12623 294.819).
What colors go well with #5f4797?
The complementary color of #5f4797 is #586000. For a calmer combination use the analogous colors #35549f and #7b3c7f. The triadic partners are #8c4000 and #006c55.
Is white or black text more readable on #5f4797?
White text reads better on #5f4797: white gives a contrast ratio of 7.41:1 and black gives 2.83:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5f4797 a warm or cool color?
#5f4797 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.3% and its chroma 0.126.