#5f52b1 color: Soft violet
#5f52b1 is rgb(95, 82, 177) in RGB and oklch(50.049% 0.14552 286.138) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Medium
- Soft
- Cool
- ≈ Denim
- sky-700
- Black 31%
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 #5f52b1
#5f52b1 is a soft violet color. In OKLCH it has 50% lightness, 0.146 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 6.31:1 contrast and black text 3.33:1, so white text reads better.
The closest named color is Brandywine Raspberry (#5555aa). In Tailwind CSS the closest color is sky-700.
Lighter: #5f52b1 mixed with white
Darker: #5f52b1 mixed with black
Calmer: #5f52b1 with less saturation
Similar named colors
Colors that go with #5f52b1
Questions about #5f52b1
What color is #5f52b1?
#5f52b1 is soft violet. The closest named color is Soft violet. In RGB it is rgb(95, 82, 177), in HSL hsl(248.21, 37.85%, 50.78%) and in OKLCH oklch(50.049% 0.14552 286.138).
What colors go well with #5f52b1?
The complementary color of #5f52b1 is #6e6600. For a calmer combination use the analogous colors #2062b4 and #83449a. The triadic partners are #a34100 and #007952.
Is white or black text more readable on #5f52b1?
White text reads better on #5f52b1: white gives a contrast ratio of 6.31:1 and black gives 3.33:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5f52b1 a warm or cool color?
#5f52b1 is a cool color. In OKLCH its hue is 286 degrees, its lightness 50% and its chroma 0.146.