#2a1b57 color: Soft very dark violet
#2a1b57 is rgb(42, 27, 87) in RGB and oklch(28.018% 0.10299 289.563) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- indigo-950
- Black 66%
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 #2a1b57
#2a1b57 is a soft very dark violet color. In OKLCH it has 28% lightness, 0.103 chroma and a hue of 290°.
Inside sRGB: displays the same on any screen.
White text on it reaches 15.08:1 contrast and black text 1.39:1, so white text reads better.
The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is indigo-950.
Lighter: #2a1b57 mixed with white
Darker: #2a1b57 mixed with black
Calmer: #2a1b57 with less saturation
Similar named colors
Colors that go with #2a1b57
Questions about #2a1b57
What color is #2a1b57?
#2a1b57 is soft very dark violet. The closest named color is Soft very dark violet. In RGB it is rgb(42, 27, 87), in HSL hsl(255, 52.63%, 22.35%) and in OKLCH oklch(28.018% 0.10299 289.563).
What colors go well with #2a1b57?
The complementary color of #2a1b57 is #2c2b00. For a calmer combination use the analogous colors #04255a and #3e1248. The triadic partners are #4c1300 and #003422.
Is white or black text more readable on #2a1b57?
White text reads better on #2a1b57: white gives a contrast ratio of 15.08:1 and black gives 1.39:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a1b57 a warm or cool color?
#2a1b57 is a cool color. In OKLCH its hue is 290 degrees, its lightness 28% and its chroma 0.103.