#2a1b58 color: Night Fog
#2a1b58 is rgb(42, 27, 88) in RGB and oklch(28.109% 0.10443 289.218) 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 65%
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 #2a1b58
#2a1b58 is a soft very dark violet color. In OKLCH it has 28.1% lightness, 0.104 chroma and a hue of 289°.
Inside sRGB: displays the same on any screen.
White text on it reaches 15.04:1 contrast and black text 1.4:1, so white text reads better.
The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is indigo-950.
Lighter: #2a1b58 mixed with white
Darker: #2a1b58 mixed with black
Calmer: #2a1b58 with less saturation
Similar named colors
Colors that go with #2a1b58
Questions about #2a1b58
What color is #2a1b58?
#2a1b58 is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(42, 27, 88), in HSL hsl(254.75, 53.04%, 22.55%) and in OKLCH oklch(28.109% 0.10443 289.218).
What colors go well with #2a1b58?
The complementary color of #2a1b58 is #2d2b00. For a calmer combination use the analogous colors #02255b and #3e1249. The triadic partners are #4d1300 and #003522.
Is white or black text more readable on #2a1b58?
White text reads better on #2a1b58: white gives a contrast ratio of 15.04:1 and black gives 1.4:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a1b58 a warm or cool color?
#2a1b58 is a cool color. In OKLCH its hue is 289 degrees, its lightness 28.1% and its chroma 0.104.