#2D182D#2D182D

#2D182D is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.7% C 0.049 H 326.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#2D182D
RGBrgb(45, 24, 45)
HSLhsl(300, 30%, 14%)
HSVhsv(300, 47%, 18%)
CMYKcmyk(0%, 46.7%, 0%, 82.4%)
CIE-LABlab(11.96, 14.75, -9.77)
CIE-LCHlch(11.96, 17.69, 326.47°)
OKLaboklab(24.7% 0.0409 -0.0266)
OKLCHoklch(24.7% 0.049 326.9)
XYZxyz(1.8824, 1.4007, 2.6533)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D182D #182D18
analogous
#22182D #2D182D #2D1822
triadic
#2D182D #2D2D18 #182D2D
tetradic
#2D182D #2D2218 #182D18 #18222D
square
#2D182D #2D2218 #182D18 #18222D
split-complementary
#2D182D #222D18 #182D22
monochromatic
#140B14 #140B14 #2D182D #552D55 #7D437D

Accessibility & contrast

On white

16.40
#2D182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D182D
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D182D#FFFFFF#000000##FFFFFF
##2D182D1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2E
Deuteranopia (green-blind)
#1C202C
Tritanopia (blue-blind)
#2E1A20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d182d;
/* rgb */ color: rgb(45, 24, 45);
/* oklch */ color: oklch(24.7% 0.049 326.9);
Tailwind
colors: {
  custom: {
    50: '#665566',
    500: '#2d182d',
    950: '#000000',
  },
}
SCSS
$custom: #2d182d;
$custom-light: #665566;
$custom-dark: #000000;
JSON
{
  "hex": "#2d182d",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 30.435,
    "l": 13.529
  },
  "oklch": {
    "l": 0.247,
    "c": 0.04878,
    "h": 326.9
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#2D182D
secondary
#3F623F
accent
#C76161
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #2D182D

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

Preview Lab → · Contrast checker → · Palette generator →

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