#2E182D#2E182D

#2E182D is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.050 H 328.6°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#2E182D
RGBrgb(46, 24, 45)
HSLhsl(303, 31%, 14%)
HSVhsv(303, 48%, 18%)
CMYKcmyk(0%, 47.8%, 2.2%, 82%)
CIE-LABlab(12.11, 15.15, -9.53)
CIE-LCHlch(12.11, 17.90, 327.85°)
OKLaboklab(24.85% 0.0424 -0.0259)
OKLCHoklch(24.85% 0.05 328.6)
XYZxyz(1.9270, 1.4237, 2.6554)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E182D #182E19
analogous
#24182E #2E182D #2E1822
triadic
#2E182D #2D2E18 #182D2E
tetradic
#2E182D #2E2418 #182E19 #18222E
square
#2E182D #2E2418 #182E19 #18222E
split-complementary
#2E182D #222E18 #182E24
monochromatic
#140A14 #140A14 #2E182D #562D54 #7E427C

Accessibility & contrast

On white

16.34
#2E182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E182D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E182D
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E182D#FFFFFF#000000##FFFFFF
##2E182D1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#1C212C
Tritanopia (blue-blind)
#2F1A20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e182d;
/* rgb */ color: rgb(46, 24, 45);
/* oklch */ color: oklch(24.8% 0.050 328.6);
Tailwind
colors: {
  custom: {
    50: '#675566',
    500: '#2e182d',
    950: '#000000',
  },
}
SCSS
$custom: #2e182d;
$custom-light: #675566;
$custom-dark: #000000;
JSON
{
  "hex": "#2e182d",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 302.727,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24848,
    "c": 0.04966,
    "h": 328.6
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#2E182D
secondary
#3F6341
accent
#C86560
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #2E182D

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

Preview Lab → · Contrast checker → · Palette generator →

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