Skip to the color picker

#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

255°
100%

28.1%
0.104
289°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 65%

Inside sRGB: displays the same on any screen.

White text
15.04:1Readable · AA
Lc -104
Black text
1.40:1Hard to read
Lc 0

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.

More very dark violet colors

Lighter: #2a1b58 mixed with white

Darker: #2a1b58 mixed with black

  1. 000000

Calmer: #2a1b58 with less saturation

Similar named colors

Colors that go with #2a1b58

Complementary
Analogous
Triadic
Split

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.