Skip to the color picker

#311f52 color: Powerful Violet

#311f52 is rgb(49, 31, 82) in RGB and oklch(29.114% 0.0896 296.73) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

261°
100%

29.1%
0.090
297°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
14.50:1Readable · AA
Lc -104
Black text
1.45: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 #311f52

#311f52 is a soft very dark violet color. In OKLCH it has 29.1% lightness, 0.09 chroma and a hue of 297°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Powerful Violet (#372252). In Tailwind CSS the closest color is indigo-950.

More very dark violet colors

Lighter: #311f52 mixed with white

  1. 311f52
  2. 423363
  3. 554873
  4. 685d84
  5. 7c7295
  6. 9089a6
  7. a59fb8
  8. bbb6c9
  9. d1cedb
  10. e8e6ed

Darker: #311f52 mixed with black

  1. 311f52
  2. 291946
  3. 22143b
  4. 1a0f2f
  5. 130a25
  6. 0c061a
  7. 060311
  8. 030108
  9. 010002
  10. 000000

Calmer: #311f52 with less saturation

  1. 311f52
  2. 30214e
  3. 30234b
  4. 2f2447
  5. 2e2543
  6. 2e273f
  7. 2d283b
  8. 2d2938
  9. 2c2a34
  10. 2c2b30

Questions about #311f52

What color is #311f52?

#311f52 is soft very dark violet. The closest named color is Powerful Violet. In RGB it is rgb(49, 31, 82), in HSL hsl(261.18, 45.13%, 22.16%) and in OKLCH oklch(29.114% 0.0896 296.73).

What colors go well with #311f52?

The complementary color of #311f52 is #2a3000. For a calmer combination use the analogous colors #172758 and #421842. The triadic partners are #4b1c00 and #00372b.

Is white or black text more readable on #311f52?

White text reads better on #311f52: white gives a contrast ratio of 14.5:1 and black gives 1.45:1. WCAG AA asks for at least 4.5:1 for body text.

Is #311f52 a warm or cool color?

#311f52 is a cool color. In OKLCH its hue is 297 degrees, its lightness 29.1% and its chroma 0.09.