Skip to the color picker

#2f1a5d color: Night Fog

#2f1a5d is rgb(47, 26, 93) in RGB and oklch(28.951% 0.11285 292.277) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

29%
0.113
292°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • violet-950
  • Black 64%

Inside sRGB: displays the same on any screen.

White text
14.72:1Readable · AA
Lc -104
Black text
1.43: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 #2f1a5d

#2f1a5d is a soft very dark violet color. In OKLCH it has 29% lightness, 0.113 chroma and a hue of 292°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.72:1 contrast and black text 1.43: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: #2f1a5d mixed with white

Darker: #2f1a5d mixed with black

  1. 000000

Calmer: #2f1a5d with less saturation

Similar named colors

Colors that go with #2f1a5d

Complementary
Analogous
Triadic
Split

Questions about #2f1a5d

What color is #2f1a5d?

#2f1a5d is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(47, 26, 93), in HSL hsl(258.81, 56.3%, 23.33%) and in OKLCH oklch(28.951% 0.11285 292.277).

What colors go well with #2f1a5d?

The complementary color of #2f1a5d is #2d2e00. For a calmer combination use the analogous colors #082662 and #440f4b. The triadic partners are #4e1700 and #003727.

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

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

Is #2f1a5d a warm or cool color?

#2f1a5d is a cool color. In OKLCH its hue is 292 degrees, its lightness 29% and its chroma 0.113.