Skip to the color picker

#2a1f51 color: Spacescape

#2a1f51 is rgb(42, 31, 81) in RGB and oklch(28.253% 0.08771 289.726) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

253°
100%

28.3%
0.088
290°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
14.86:1Readable · AA
Lc -104
Black text
1.41: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 #2a1f51

#2a1f51 is a soft very dark violet color. In OKLCH it has 28.3% lightness, 0.088 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.86:1 contrast and black text 1.41:1, so white text reads better.

The closest named color is Spacescape (#222255). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #2a1f51 mixed with white

Darker: #2a1f51 mixed with black

  1. 000000

Calmer: #2a1f51 with less saturation

Similar named colors

Colors that go with #2a1f51

Complementary
Analogous
Triadic
Split

Questions about #2a1f51

What color is #2a1f51?

#2a1f51 is soft very dark violet. The closest named color is Spacescape. In RGB it is rgb(42, 31, 81), in HSL hsl(253.2, 44.64%, 21.96%) and in OKLCH oklch(28.253% 0.08771 289.726).

What colors go well with #2a1f51?

The complementary color of #2a1f51 is #2d2c00. For a calmer combination use the analogous colors #0c2754 and #3c1844. The triadic partners are #4a1800 and #003523.

Is white or black text more readable on #2a1f51?

White text reads better on #2a1f51: white gives a contrast ratio of 14.86:1 and black gives 1.41:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2a1f51 a warm or cool color?

#2a1f51 is a cool color. In OKLCH its hue is 290 degrees, its lightness 28.3% and its chroma 0.088.