Skip to the color picker

#331c62 color: Night Fog

#331c62 is rgb(51, 28, 98) in RGB and oklch(30.179% 0.11691 293.193) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

260°
100%

30.2%
0.117
293°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • violet-950
  • Black 62%

Inside sRGB: displays the same on any screen.

White text
14.16:1Readable · AA
Lc -103
Black text
1.48: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 #331c62

#331c62 is a soft dark violet color. In OKLCH it has 30.2% lightness, 0.117 chroma and a hue of 293°.

Inside sRGB: displays the same on any screen.

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

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

More dark violet colors

Lighter: #331c62 mixed with white

  1. 331c62
  2. 443272
  3. 564881
  4. 685d91
  5. 7c73a1
  6. 9089b0
  7. a5a0c0
  8. bbb7d0
  9. d1cfdf
  10. e8e7ef

Darker: #331c62 mixed with black

  1. 331c62
  2. 2b1754
  3. 231247
  4. 1c0d3a
  5. 14082d
  6. 0d0521
  7. 070216
  8. 03010b
  9. 010003
  10. 000000

Calmer: #331c62 with less saturation

  1. 331c62
  2. 321f5d
  3. 312258
  4. 312453
  5. 30264e
  6. 302849
  7. 2f2a44
  8. 2f2b3e
  9. 2f2c39
  10. 2e2d34

Questions about #331c62

What color is #331c62?

#331c62 is soft dark violet. The closest named color is Night Fog. In RGB it is rgb(51, 28, 98), in HSL hsl(259.71, 55.56%, 24.71%) and in OKLCH oklch(30.179% 0.11691 293.193).

What colors go well with #331c62?

The complementary color of #331c62 is #2f3200. For a calmer combination use the analogous colors #0c2868 and #48114f. The triadic partners are #521a00 and #003a2b.

Is white or black text more readable on #331c62?

White text reads better on #331c62: white gives a contrast ratio of 14.16:1 and black gives 1.48:1. WCAG AA asks for at least 4.5:1 for body text.

Is #331c62 a warm or cool color?

#331c62 is a cool color. In OKLCH its hue is 293 degrees, its lightness 30.2% and its chroma 0.117.