#2E0331#2E0331

#2E0331 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.094 H 325.3°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2E0331
RGBrgb(46, 3, 49)
HSLhsl(296, 88%, 10%)
HSVhsv(296, 94%, 19%)
CMYKcmyk(6.1%, 93.9%, 0%, 80.8%)
CIE-LABlab(7.84, 28.35, -19.19)
CIE-LCHlch(7.84, 34.24, 325.91°)
OKLaboklab(21.81% 0.0772 -0.0535)
OKLCHoklch(21.81% 0.094 325.3)
XYZxyz(1.7136, 0.8678, 2.9824)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0331 #063103
analogous
#170331 #2E0331 #31031D
triadic
#2E0331 #312E03 #03312E
tetradic
#2E0331 #311703 #063103 #031D31
square
#2E0331 #311703 #063103 #031D31
split-complementary
#2E0331 #1D3103 #033117
monochromatic
#1B021D #1B021D #2E0331 #64076B #9A0AA4

Accessibility & contrast

On white

17.89
#2E0331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E0331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0331
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0331#FFFFFF#000000##FFFFFF
##2E03311.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0C1930
Tritanopia (blue-blind)
#2F0B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e0331;
/* rgb */ color: rgb(46, 3, 49);
/* oklch */ color: oklch(21.8% 0.094 325.3);
Tailwind
colors: {
  custom: {
    50: '#694969',
    500: '#2e0331',
    950: '#000000',
  },
}
SCSS
$custom: #2e0331;
$custom-light: #694969;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0331",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 296.087,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21806,
    "c": 0.09396,
    "h": 325.3
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#2E0331
secondary
#21741B
accent
#FF2937
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0331

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E0331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva