#2E1432#2E1432

#2E1432 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.065 H 322.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2E1432
RGBrgb(46, 20, 50)
HSLhsl(292, 43%, 14%)
HSVhsv(292, 60%, 20%)
CMYKcmyk(8%, 60%, 0%, 80.4%)
CIE-LABlab(11.36, 19.02, -14.34)
CIE-LCHlch(11.36, 23.83, 322.98°)
OKLaboklab(24.37% 0.051 -0.0396)
OKLCHoklch(24.37% 0.065 322.1)
XYZxyz(1.9525, 1.3115, 3.1673)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1432 #183214
analogous
#1F1432 #2E1432 #321427
triadic
#2E1432 #322E14 #14322E
tetradic
#2E1432 #321F14 #183214 #142732
square
#2E1432 #321F14 #183214 #142732
split-complementary
#2E1432 #273214 #14321F
monochromatic
#140916 #140916 #2E1432 #56255E #7E3789

Accessibility & contrast

On white

16.64
#2E1432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1432
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1432#FFFFFF#000000##FFFFFF
##2E14321.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C33
Deuteranopia (green-blind)
#171F31
Tritanopia (blue-blind)
#2F1820
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1432;
/* rgb */ color: rgb(46, 20, 50);
/* oklch */ color: oklch(24.4% 0.065 322.1);
Tailwind
colors: {
  custom: {
    50: '#68526a',
    500: '#2e1432',
    950: '#000000',
  },
}
SCSS
$custom: #2e1432;
$custom-light: #68526a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1432",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 50
  },
  "hsl": {
    "h": 292,
    "s": 42.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24373,
    "c": 0.06456,
    "h": 322.1
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#2E1432
secondary
#3F6939
accent
#D35566
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1432

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

Preview Lab → · Contrast checker → · Palette generator →

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