Skip to the color picker

#2a174e color: Russian Violet

#2a174e is rgb(42, 23, 78) in RGB and oklch(26.516% 0.09626 294.867) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

261°
100%

26.5%
0.096
295°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 69%

Inside sRGB: displays the same on any screen.

White text
15.78:1Readable · AA
Lc -105
Black text
1.33:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #2a174e

#2a174e is a soft very dark violet color. In OKLCH it has 26.5% lightness, 0.096 chroma and a hue of 295°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Russian Violet (#32174d). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #2a174e mixed with white

  1. 2a174e
  2. 3b2d5f
  3. 4e4270
  4. 625882
  5. 766e93
  6. 8b85a5
  7. a19cb6
  8. b8b4c8
  9. cfccda
  10. e7e6ed

Darker: #2a174e mixed with black

  1. 2a174e
  2. 231243
  3. 1c0e38
  4. 160a2d
  5. 100623
  6. 0a0419
  7. 05020f
  8. 020107
  9. 010002
  10. 000000

Calmer: #2a174e with less saturation

  1. 2a174e
  2. 29194a
  3. 291b46
  4. 281d42
  5. 271f3e
  6. 27203a
  7. 262136
  8. 262332
  9. 26242e
  10. 25242a

Questions about #2a174e

What color is #2a174e?

#2a174e is soft very dark violet. The closest named color is Russian Violet. In RGB it is rgb(42, 23, 78), in HSL hsl(260.73, 54.46%, 19.8%) and in OKLCH oklch(26.516% 0.09626 294.867).

What colors go well with #2a174e?

The complementary color of #2a174e is #252900. For a calmer combination use the analogous colors #0d2053 and #3b0f3e. The triadic partners are #441400 and #003023.

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

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

Is #2a174e a warm or cool color?

#2a174e is a cool color. In OKLCH its hue is 295 degrees, its lightness 26.5% and its chroma 0.096.