#2E152D#2E152D

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

Color values

HEX#2E152D
RGBrgb(46, 21, 45)
HSLhsl(302, 37%, 13%)
HSVhsv(302, 54%, 18%)
CMYKcmyk(0%, 54.3%, 2.2%, 82%)
CIE-LABlab(11.32, 17.18, -10.75)
CIE-LCHlch(11.32, 20.26, 327.96°)
OKLaboklab(24.26% 0.0481 -0.0293)
OKLCHoklch(24.26% 0.056 328.6)
XYZxyz(1.8685, 1.3067, 2.6359)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E152D #152E16
analogous
#22152E #2E152D #2E1520
triadic
#2E152D #2D2E15 #152D2E
tetradic
#2E152D #2E2215 #152E16 #15202E
square
#2E152D #2E2215 #152E16 #15202E
split-complementary
#2E152D #202E15 #152E22
monochromatic
#150A15 #150A15 #2E152D #582856 #823B7F

Accessibility & contrast

On white

16.65
#2E152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E152D
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E152D#FFFFFF#000000##FFFFFF
##2E152D1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#30171E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e152d;
/* rgb */ color: rgb(46, 21, 45);
/* oklch */ color: oklch(24.3% 0.056 328.6);
Tailwind
colors: {
  custom: {
    50: '#675366',
    500: '#2e152d',
    950: '#000000',
  },
}
SCSS
$custom: #2e152d;
$custom-light: #675366;
$custom-dark: #000000;
JSON
{
  "hex": "#2e152d",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 302.4,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24255,
    "c": 0.05632,
    "h": 328.6
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#2E152D
secondary
#3B643C
accent
#CD5F5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E152D

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

Preview Lab → · Contrast checker → · Palette generator →

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