#5e5798 color: Old Nan Yarn
#5e5798 is rgb(94, 87, 152) in RGB and oklch(49.331% 0.10205 286.965) 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
- ≈ Denim
- slate-600
- 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 #5e5798
#5e5798 is a soft dark violet color. In OKLCH it has 49.3% lightness, 0.102 chroma and a hue of 287°.
Inside sRGB: displays the same on any screen.
White text on it reaches 6.38:1 contrast and black text 3.29:1, so white text reads better.
The closest named color is Old Nan Yarn (#5e5896). In Tailwind CSS the closest color is slate-600.
Lighter: #5e5798 mixed with white
Darker: #5e5798 mixed with black
Calmer: #5e5798 with less saturation
Similar named colors
Colors that go with #5e5798
Questions about #5e5798
What color is #5e5798?
#5e5798 is soft dark violet. The closest named color is Old Nan Yarn. In RGB it is rgb(94, 87, 152), in HSL hsl(246.46, 27.2%, 46.86%) and in OKLCH oklch(49.331% 0.10205 286.965).
What colors go well with #5e5798?
The complementary color of #5e5798 is #68650a. For a calmer combination use the analogous colors #39629a and #784e87. The triadic partners are #8f4d2a and #007355.
Is white or black text more readable on #5e5798?
White text reads better on #5e5798: white gives a contrast ratio of 6.38:1 and black gives 3.29:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5e5798 a warm or cool color?
#5e5798 is a cool color. In OKLCH its hue is 287 degrees, its lightness 49.3% and its chroma 0.102.