#5f429a color: Sweet Flag
#5f429a is rgb(95, 66, 154) in RGB and oklch(45.63% 0.13815 295.62) 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
- purple-800
- Black 40%
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 #5f429a
#5f429a is a soft dark violet color. In OKLCH it has 45.6% lightness, 0.138 chroma and a hue of 296°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.69:1 contrast and black text 2.73:1, so white text reads better.
The closest named color is Sweet Flag (#674196). In Tailwind CSS the closest color is purple-800.
Lighter: #5f429a mixed with white
Darker: #5f429a mixed with black
Calmer: #5f429a with less saturation
Similar named colors
Colors that go with #5f429a
Questions about #5f429a
What color is #5f429a?
#5f429a is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 154), in HSL hsl(259.77, 40%, 43.14%) and in OKLCH oklch(45.63% 0.13815 295.62).
What colors go well with #5f429a?
The complementary color of #5f429a is #555e00. For a calmer combination use the analogous colors #3151a3 and #7c3680. The triadic partners are #8d3c00 and #006954.
Is white or black text more readable on #5f429a?
White text reads better on #5f429a: white gives a contrast ratio of 7.69:1 and black gives 2.73:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5f429a a warm or cool color?
#5f429a is a cool color. In OKLCH its hue is 296 degrees, its lightness 45.6% and its chroma 0.138.