#2E162E#2E162E

#2E162E is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.5% C 0.055 H 327.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2E162E
RGBrgb(46, 22, 46)
HSLhsl(300, 35%, 13%)
HSVhsv(300, 52%, 18%)
CMYKcmyk(0%, 52.2%, 0%, 82%)
CIE-LABlab(11.63, 16.74, -11.00)
CIE-LCHlch(11.63, 20.03, 326.70°)
OKLaboklab(24.51% 0.0465 -0.03)
OKLCHoklch(24.51% 0.055 327.1)
XYZxyz(1.9067, 1.3520, 2.7448)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E162E #162E16
analogous
#22162E #2E162E #2E1622
triadic
#2E162E #2E2E16 #162E2E
tetradic
#2E162E #2E2216 #162E16 #16222E
square
#2E162E #2E2216 #162E16 #16222E
split-complementary
#2E162E #222E16 #162E22
monochromatic
#150A15 #150A15 #2E162E #572A57 #813E81

Accessibility & contrast

On white

16.53
#2E162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E162E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E162E#FFFFFF#000000##FFFFFF
##2E162E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#2F181F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e162e;
/* rgb */ color: rgb(46, 22, 46);
/* oklch */ color: oklch(24.5% 0.055 327.1);
Tailwind
colors: {
  custom: {
    50: '#675466',
    500: '#2e162e',
    950: '#000000',
  },
}
SCSS
$custom: #2e162e;
$custom-light: #675466;
$custom-dark: #000000;
JSON
{
  "hex": "#2e162e",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 35.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24506,
    "c": 0.05532,
    "h": 327.1
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#2E162E
secondary
#3C643C
accent
#CB5C5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E162E

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

Preview Lab → · Contrast checker → · Palette generator →

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