Skip to the color picker

#312254 color: Stormy Night

#312254 is rgb(49, 34, 84) in RGB and oklch(29.841% 0.0874 294.323) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

29.8%
0.087
294°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 67%

Inside sRGB: displays the same on any screen.

White text
14.12:1Readable · AA
Lc -104
Black text
1.49: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 #312254

#312254 is a soft very dark violet color. In OKLCH it has 29.8% lightness, 0.087 chroma and a hue of 294°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Stormy Night (#372354). In Tailwind CSS the closest color is blue-950.

More very dark violet colors

Lighter: #312254 mixed with white

  1. 312254
  2. 423664
  3. 544a75
  4. 685f86
  5. 7b7497
  6. 908aa8
  7. a5a1b9
  8. bbb7ca
  9. d1cfdc
  10. e8e7ed

Darker: #312254 mixed with black

  1. 312254
  2. 291c48
  3. 22163c
  4. 1a1131
  5. 130b26
  6. 0c071b
  7. 060311
  8. 030108
  9. 010002
  10. 000000

Calmer: #312254 with less saturation

  1. 312254
  2. 302450
  3. 30254d
  4. 2f2749
  5. 2f2845
  6. 2f2941
  7. 2e2a3d
  8. 2e2b39
  9. 2e2c35
  10. 2d2d31

Questions about #312254

What color is #312254?

#312254 is soft very dark violet. The closest named color is Stormy Night. In RGB it is rgb(49, 34, 84), in HSL hsl(258, 42.37%, 23.14%) and in OKLCH oklch(29.841% 0.0874 294.323).

What colors go well with #312254?

The complementary color of #312254 is #2d3100. For a calmer combination use the analogous colors #162a59 and #421b45. The triadic partners are #4d1d00 and #00392b.

Is white or black text more readable on #312254?

White text reads better on #312254: white gives a contrast ratio of 14.12:1 and black gives 1.49:1. WCAG AA asks for at least 4.5:1 for body text.

Is #312254 a warm or cool color?

#312254 is a cool color. In OKLCH its hue is 294 degrees, its lightness 29.8% and its chroma 0.087.