#2E152E#2E152E

#2E152E is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.3% C 0.058 H 327.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2E152E
RGBrgb(46, 21, 46)
HSLhsl(300, 37%, 13%)
HSVhsv(300, 54%, 18%)
CMYKcmyk(0%, 54.3%, 0%, 82%)
CIE-LABlab(11.38, 17.41, -11.40)
CIE-LCHlch(11.38, 20.81, 326.79°)
OKLaboklab(24.31% 0.0483 -0.0312)
OKLCHoklch(24.31% 0.058 327.2)
XYZxyz(1.8880, 1.3145, 2.7385)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E152E #152E15
analogous
#21152E #2E152E #2E1521
triadic
#2E152E #2E2E15 #152E2E
tetradic
#2E152E #2E2115 #152E15 #15212E
square
#2E152E #2E2115 #152E15 #15212E
split-complementary
#2E152E #212E15 #152E21
monochromatic
#150A15 #150A15 #2E152E #582858 #823B82

Accessibility & contrast

On white

16.63
#2E152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E152E
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E152E#FFFFFF#000000##FFFFFF
##2E152E1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#1A1F2D
Tritanopia (blue-blind)
#2F181F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e152e;
/* rgb */ color: rgb(46, 21, 46);
/* oklch */ color: oklch(24.3% 0.058 327.2);
Tailwind
colors: {
  custom: {
    50: '#675366',
    500: '#2e152e',
    950: '#000000',
  },
}
SCSS
$custom: #2e152e;
$custom-light: #675366;
$custom-dark: #000000;
JSON
{
  "hex": "#2e152e",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24313,
    "c": 0.05751,
    "h": 327.2
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2E152E
secondary
#3B643B
accent
#CD5B5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E152E

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

Preview Lab → · Contrast checker → · Palette generator →

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