#5a4271 color: Drifting Violet
#5a4271 is rgb(90, 66, 113) in RGB and oklch(42.545% 0.08058 306.768) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Purple
- Dark
- Soft
- Neutral
- ≈ Eggplant
- mauve-600
- Black 56%
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 #5a4271
#5a4271 is a soft dark purple color. In OKLCH it has 42.5% lightness, 0.081 chroma and a hue of 307°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.56:1 contrast and black text 2.45:1, so white text reads better.
The closest named color is Drifting Violet (#5b4276). In Tailwind CSS the closest color is mauve-600.
Lighter: #5a4271 mixed with white
Darker: #5a4271 mixed with black
Calmer: #5a4271 with less saturation
Similar named colors
Colors that go with #5a4271
Questions about #5a4271
What color is #5a4271?
#5a4271 is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(90, 66, 113), in HSL hsl(270.64, 26.26%, 35.1%) and in OKLCH oklch(42.545% 0.08058 306.768).
What colors go well with #5a4271?
The complementary color of #5a4271 is #435622. For a calmer combination use the analogous colors #434a7a and #6a3c5f. The triadic partners are #6c4516 and #005c56.
Is white or black text more readable on #5a4271?
White text reads better on #5a4271: white gives a contrast ratio of 8.56:1 and black gives 2.45:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5a4271 a warm or cool color?
#5a4271 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 42.5% and its chroma 0.081.