Skip to the color picker

#331a40 color: Blackcurrant

#331a40 is rgb(51, 26, 64) in RGB and oklch(27.125% 0.07375 312.851) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

279°
100%

27.1%
0.074
313°
  • Purple
  • Very dark
  • Soft
  • Neutral
  • ≈ Midnight blue
  • indigo-950
  • Black 75%

Inside sRGB: displays the same on any screen.

White text
15.41:1Readable · AA
Lc -105
Black text
1.36: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 #331a40

#331a40 is a soft very dark purple color. In OKLCH it has 27.1% lightness, 0.074 chroma and a hue of 313°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Blackcurrant (#2e183b). In Tailwind CSS the closest color is indigo-950.

More very dark purple colors

Lighter: #331a40 mixed with white

  1. 331a40
  2. 452e51
  3. 574363
  4. 6b5876
  5. 7e6e88
  6. 93859b
  7. a89caf
  8. bdb4c2
  9. d2ccd6
  10. e9e5ea

Darker: #331a40 mixed with black

  1. 331a40
  2. 2b1536
  3. 23102d
  4. 1c0c24
  5. 14071b
  6. 0d0413
  7. 07020b
  8. 030105
  9. 010001
  10. 000000

Calmer: #331a40 with less saturation

  1. 331a40
  2. 321c3e
  3. 311d3b
  4. 2f1f39
  5. 2e2036
  6. 2d2134
  7. 2c2331
  8. 2b242f
  9. 29252c
  10. 282629

Questions about #331a40

What color is #331a40?

#331a40 is soft very dark purple. The closest named color is Blackcurrant. In RGB it is rgb(51, 26, 64), in HSL hsl(279.47, 42.22%, 17.65%) and in OKLCH oklch(27.125% 0.07375 312.851).

What colors go well with #331a40?

The complementary color of #331a40 is #172e02. For a calmer combination use the analogous colors #232049 and #3e1530. The triadic partners are #3c1f00 and #00302f.

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

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

Is #331a40 a warm or cool color?

#331a40 is a neutral color. In OKLCH its hue is 313 degrees, its lightness 27.1% and its chroma 0.074.