#2E1032#2E1032

#2E1032 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.073 H 322.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2E1032
RGBrgb(46, 16, 50)
HSLhsl(293, 52%, 13%)
HSVhsv(293, 68%, 20%)
CMYKcmyk(8%, 68%, 0%, 80.4%)
CIE-LABlab(10.42, 21.52, -15.81)
CIE-LCHlch(10.42, 26.70, 323.69°)
OKLaboklab(23.69% 0.0578 -0.0438)
OKLCHoklch(23.69% 0.073 322.8)
XYZxyz(1.8877, 1.1818, 3.1457)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1032 #143210
analogous
#1D1032 #2E1032 #321025
triadic
#2E1032 #322E10 #10322E
tetradic
#2E1032 #321D10 #143210 #102532
square
#2E1032 #321D10 #143210 #102532
split-complementary
#2E1032 #253210 #10321D
monochromatic
#150717 #150717 #2E1032 #591F60 #832E8F

Accessibility & contrast

On white

16.98
#2E1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E1032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1032
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1032#FFFFFF#000000##FFFFFF
##2E10321.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A33
Deuteranopia (green-blind)
#141E31
Tritanopia (blue-blind)
#2F151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e1032;
/* rgb */ color: rgb(46, 16, 50);
/* oklch */ color: oklch(23.7% 0.073 322.8);
Tailwind
colors: {
  custom: {
    50: '#68506a',
    500: '#2e1032',
    950: '#000000',
  },
}
SCSS
$custom: #2e1032;
$custom-light: #68506a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1032",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 292.941,
    "s": 51.515,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23687,
    "c": 0.07252,
    "h": 322.8
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#2E1032
secondary
#396B32
accent
#DB4D5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1032

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

Preview Lab → · Contrast checker → · Palette generator →

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