#2D202B#2D202B

#2D202B is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.4% C 0.028 H 331.7°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#2D202B
RGBrgb(45, 32, 43)
HSLhsl(309, 17%, 15%)
HSVhsv(309, 29%, 18%)
CMYKcmyk(0%, 28.9%, 4.4%, 82.4%)
CIE-LABlab(14.20, 8.64, -4.91)
CIE-LCHlch(14.20, 9.94, 330.40°)
OKLaboklab(26.37% 0.0244 -0.0131)
OKLCHoklch(26.37% 0.028 331.7)
XYZxyz(2.0347, 1.7654, 2.5186)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D202B #202D22
analogous
#28202D #2D202B #2D2024
triadic
#2D202B #2B2D20 #202B2D
tetradic
#2D202B #2D2820 #202D22 #20242D
square
#2D202B #2D2820 #202D22 #20242D
split-complementary
#2D202B #242D20 #202D28
monochromatic
#120D11 #120D11 #2D202B #51394D #75536F

Accessibility & contrast

On white

15.52
#2D202B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2D202B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D202B
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D202B#FFFFFF#000000##FFFFFF
##2D202B1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#23252B
Tritanopia (blue-blind)
#2E2124
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d202b;
/* rgb */ color: rgb(45, 32, 43);
/* oklch */ color: oklch(26.4% 0.028 331.7);
Tailwind
colors: {
  custom: {
    50: '#665b64',
    500: '#2d202b',
    950: '#000000',
  },
}
SCSS
$custom: #2d202b;
$custom-light: #665b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d202b",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 43
  },
  "hsl": {
    "h": 309.231,
    "s": 16.883,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26374,
    "c": 0.02767,
    "h": 331.7
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#2D202B
secondary
#4A5E4D
accent
#BA7A6E
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2D202B

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

Preview Lab → · Contrast checker → · Palette generator →

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