#2E1E2E#2E1E2E

#2E1E2E is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.2% C 0.037 H 326.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#2E1E2E
RGBrgb(46, 30, 46)
HSLhsl(300, 21%, 15%)
HSVhsv(300, 35%, 18%)
CMYKcmyk(0%, 34.8%, 0%, 82%)
CIE-LABlab(13.87, 11.21, -7.57)
CIE-LCHlch(13.87, 13.53, 325.99°)
OKLaboklab(26.19% 0.031 -0.0205)
OKLCHoklch(26.19% 0.037 326.6)
XYZxyz(2.0841, 1.7067, 2.8039)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E2E #1E2E1E
analogous
#261E2E #2E1E2E #2E1E26
triadic
#2E1E2E #2E2E1E #1E2E2E
tetradic
#2E1E2E #2E261E #1E2E1E #1E262E
square
#2E1E2E #2E261E #1E2E1E #1E262E
split-complementary
#2E1E2E #262E1E #1E2E26
monochromatic
#130C13 #130C13 #2E1E2E #533653 #784E78

Accessibility & contrast

On white

15.66
#2E1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2E1E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E2E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E2E#FFFFFF#000000##FFFFFF
##2E1E2E1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#2F1F24
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e1e2e;
/* rgb */ color: rgb(46, 30, 46);
/* oklch */ color: oklch(26.2% 0.037 326.6);
Tailwind
colors: {
  custom: {
    50: '#675a66',
    500: '#2e1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e2e;
$custom-light: #675a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e2e",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 21.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26189,
    "c": 0.03714,
    "h": 326.6
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#2E1E2E
secondary
#486048
accent
#BE6A6A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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