#5f5a96 color: Old Nan Yarn
#5f5a96 is rgb(95, 90, 150) in RGB and oklch(49.913% 0.09425 286.263) 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
- Muted
- Cool
- ≈ Denim
- slate-500
- 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 #5f5a96
#5f5a96 is a muted dark violet color. In OKLCH it has 49.9% lightness, 0.094 chroma and a hue of 286°.
Inside sRGB: displays the same on any screen.
White text on it reaches 6.2:1 contrast and black text 3.39:1, so white text reads better.
The closest named color is Old Nan Yarn (#5e5896). In Tailwind CSS the closest color is slate-500.
Lighter: #5f5a96 mixed with white
Darker: #5f5a96 mixed with black
Calmer: #5f5a96 with less saturation
Similar named colors
Colors that go with #5f5a96
Questions about #5f5a96
What color is #5f5a96?
#5f5a96 is muted dark violet. The closest named color is Old Nan Yarn. In RGB it is rgb(95, 90, 150), in HSL hsl(245, 25%, 47.06%) and in OKLCH oklch(49.913% 0.09425 286.263).
What colors go well with #5f5a96?
The complementary color of #5f5a96 is #6a661b. For a calmer combination use the analogous colors #3e6498 and #785187. The triadic partners are #8e5032 and #1a7457.
Is white or black text more readable on #5f5a96?
White text reads better on #5f5a96: white gives a contrast ratio of 6.2:1 and black gives 3.39:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5f5a96 a warm or cool color?
#5f5a96 is a cool color. In OKLCH its hue is 286 degrees, its lightness 49.9% and its chroma 0.094.