Skip to the color picker

#311e5d color: Night Fog

#311e5d is rgb(49, 30, 93) in RGB and oklch(29.841% 0.10703 292.607) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

258°
100%

29.8%
0.107
293°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • violet-950
  • Black 64%

Inside sRGB: displays the same on any screen.

White text
14.24:1Readable · AA
Lc -104
Black text
1.47: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 #311e5d

#311e5d is a soft very dark violet color. In OKLCH it has 29.8% lightness, 0.107 chroma and a hue of 293°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is violet-950.

More very dark violet colors

Lighter: #311e5d mixed with white

Darker: #311e5d mixed with black

  1. 000000

Calmer: #311e5d with less saturation

Similar named colors

Colors that go with #311e5d

Complementary
Analogous
Triadic
Split

Questions about #311e5d

What color is #311e5d?

#311e5d is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(49, 30, 93), in HSL hsl(258.1, 51.22%, 24.12%) and in OKLCH oklch(29.841% 0.10703 292.607).

What colors go well with #311e5d?

The complementary color of #311e5d is #2f3100. For a calmer combination use the analogous colors #0d2962 and #45154c. The triadic partners are #511900 and #003929.

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

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

Is #311e5d a warm or cool color?

#311e5d is a cool color. In OKLCH its hue is 293 degrees, its lightness 29.8% and its chroma 0.107.