#2E1A2E#2E1A2E

#2E1A2E is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.3% C 0.046 H 326.8°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#2E1A2E
RGBrgb(46, 26, 46)
HSLhsl(300, 28%, 14%)
HSVhsv(300, 43%, 18%)
CMYKcmyk(0%, 43.5%, 0%, 82%)
CIE-LABlab(12.72, 14.02, -9.33)
CIE-LCHlch(12.72, 16.84, 326.35°)
OKLaboklab(25.32% 0.0388 -0.0254)
OKLCHoklch(25.32% 0.046 326.8)
XYZxyz(1.9892, 1.5170, 2.7723)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A2E #1A2E1A
analogous
#241A2E #2E1A2E #2E1A24
triadic
#2E1A2E #2E2E1A #1A2E2E
tetradic
#2E1A2E #2E241A #1A2E1A #1A242E
square
#2E1A2E #2E241A #1A2E1A #1A242E
split-complementary
#2E1A2E #242E1A #1A2E24
monochromatic
#140B14 #140B14 #2E1A2E #553055 #7C467C

Accessibility & contrast

On white

16.11
#2E1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2E1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A2E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A2E#FFFFFF#000000##FFFFFF
##2E1A2E1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#2F1C21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1a2e;
/* rgb */ color: rgb(46, 26, 46);
/* oklch */ color: oklch(25.3% 0.046 326.8);
Tailwind
colors: {
  custom: {
    50: '#675766',
    500: '#2e1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a2e;
$custom-light: #675766;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a2e",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25317,
    "c": 0.04637,
    "h": 326.8
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#2E1A2E
secondary
#426242
accent
#C46464
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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