#2E1A32#2E1A32

#2E1A32 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.5% C 0.052 H 320.8°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#2E1A32
RGBrgb(46, 26, 50)
HSLhsl(290, 32%, 15%)
HSVhsv(290, 48%, 20%)
CMYKcmyk(8%, 48%, 0%, 80.4%)
CIE-LABlab(12.92, 15.01, -11.90)
CIE-LCHlch(12.92, 19.15, 321.59°)
OKLaboklab(25.54% 0.04 -0.0327)
OKLCHoklch(25.54% 0.052 320.8)
XYZxyz(2.0718, 1.5500, 3.2070)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A32 #1E321A
analogous
#221A32 #2E1A32 #321A2A
triadic
#2E1A32 #322E1A #1A322E
tetradic
#2E1A32 #32221A #1E321A #1A2A32
square
#2E1A32 #32221A #1E321A #1A2A32
split-complementary
#2E1A32 #2A321A #1A3222
monochromatic
#130A14 #130A14 #2E1A32 #532F5A #784483

Accessibility & contrast

On white

16.03
#2E1A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E1A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A32
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A32#FFFFFF#000000##FFFFFF
##2E1A321.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172033
Deuteranopia (green-blind)
#1C2231
Tritanopia (blue-blind)
#2E1D23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1a32;
/* rgb */ color: rgb(46, 26, 50);
/* oklch */ color: oklch(25.5% 0.052 320.8);
Tailwind
colors: {
  custom: {
    50: '#67576a',
    500: '#2e1a32',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a32;
$custom-light: #67576a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a32",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 290,
    "s": 31.579,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25541,
    "c": 0.05164,
    "h": 320.8
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#2E1A32
secondary
#486641
accent
#C86071
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1A32

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

Preview Lab → · Contrast checker → · Palette generator →

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