#2E1332#2E1332

#2E1332 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.067 H 322.3°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2E1332
RGBrgb(46, 19, 50)
HSLhsl(292, 45%, 14%)
HSVhsv(292, 62%, 20%)
CMYKcmyk(8%, 62%, 0%, 80.4%)
CIE-LABlab(11.11, 19.66, -14.72)
CIE-LCHlch(11.11, 24.56, 323.17°)
OKLaboklab(24.19% 0.0527 -0.0407)
OKLCHoklch(24.19% 0.067 322.3)
XYZxyz(1.9352, 1.2770, 3.1615)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1332 #173213
analogous
#1E1332 #2E1332 #321326
triadic
#2E1332 #322E13 #13322E
tetradic
#2E1332 #321E13 #173213 #132632
square
#2E1332 #321E13 #173213 #132632
split-complementary
#2E1332 #263213 #13321E
monochromatic
#140816 #140816 #2E1332 #57245E #80358B

Accessibility & contrast

On white

16.73
#2E1332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E1332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1332
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1332#FFFFFF#000000##FFFFFF
##2E13321.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C33
Deuteranopia (green-blind)
#171F31
Tritanopia (blue-blind)
#2F1720
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1332;
/* rgb */ color: rgb(46, 19, 50);
/* oklch */ color: oklch(24.2% 0.067 322.3);
Tailwind
colors: {
  custom: {
    50: '#68526a',
    500: '#2e1332',
    950: '#000000',
  },
}
SCSS
$custom: #2e1332;
$custom-light: #68526a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1332",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 292.258,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24194,
    "c": 0.06661,
    "h": 322.3
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#2E1332
secondary
#3E6A37
accent
#D55364
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1332

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

Preview Lab → · Contrast checker → · Palette generator →

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