#5f4796 color: Sweet Flag
#5f4796 is rgb(95, 71, 150) in RGB and oklch(46.236% 0.12485 295.076) 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 #5f4796
#5f4796 is a soft dark violet color. In OKLCH it has 46.2% lightness, 0.125 chroma and a hue of 295°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.43: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: #5f4796 mixed with white
Darker: #5f4796 mixed with black
Calmer: #5f4796 with less saturation
Similar named colors
Colors that go with #5f4796
Questions about #5f4796
What color is #5f4796?
#5f4796 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 150), in HSL hsl(258.23, 35.75%, 43.33%) and in OKLCH oklch(46.236% 0.12485 295.076).
What colors go well with #5f4796?
The complementary color of #5f4796 is #576000. For a calmer combination use the analogous colors #36549e and #7a3c7e. The triadic partners are #8b4100 and #006b55.
Is white or black text more readable on #5f4796?
White text reads better on #5f4796: white gives a contrast ratio of 7.43:1 and black gives 2.83:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5f4796 a warm or cool color?
#5f4796 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.2% and its chroma 0.125.