#2E152B#2E152B

#2E152B is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.1% C 0.054 H 331.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2E152B
RGBrgb(46, 21, 43)
HSLhsl(307, 37%, 13%)
HSVhsv(307, 54%, 18%)
CMYKcmyk(0%, 54.3%, 6.5%, 82%)
CIE-LABlab(11.22, 16.72, -9.44)
CIE-LCHlch(11.22, 19.20, 330.54°)
OKLaboklab(24.14% 0.0475 -0.0256)
OKLCHoklch(24.14% 0.054 331.7)
XYZxyz(1.8309, 1.2917, 2.4379)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E152B #152E18
analogous
#24152E #2E152B #2E151E
triadic
#2E152B #2B2E15 #152B2E
tetradic
#2E152B #2E2415 #152E18 #151E2E
square
#2E152B #2E2415 #152E18 #151E2E
split-complementary
#2E152B #1E2E15 #152E24
monochromatic
#150A14 #150A14 #2E152B #582852 #823B7A

Accessibility & contrast

On white

16.69
#2E152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E152B
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E152B#FFFFFF#000000##FFFFFF
##2E152B1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#30171E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e152b;
/* rgb */ color: rgb(46, 21, 43);
/* oklch */ color: oklch(24.1% 0.054 331.7);
Tailwind
colors: {
  custom: {
    50: '#675364',
    500: '#2e152b',
    950: '#000000',
  },
}
SCSS
$custom: #2e152b;
$custom-light: #675364;
$custom-dark: #000000;
JSON
{
  "hex": "#2e152b",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 307.2,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24142,
    "c": 0.054,
    "h": 331.7
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#2E152B
secondary
#3B6440
accent
#CD685B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2E152B

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

Preview Lab → · Contrast checker → · Palette generator →

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