#2D252D#2D252D

#2D252D is a dark, near-neutral purple. Relative luminance 0.021; OKLCH L 27.7% C 0.018 H 326.0°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#2D252D
RGBrgb(45, 37, 45)
HSLhsl(300, 10%, 16%)
HSVhsv(300, 18%, 18%)
CMYKcmyk(0%, 17.8%, 0%, 82.4%)
CIE-LABlab(15.85, 5.57, -3.87)
CIE-LCHlch(15.85, 6.78, 325.23°)
OKLaboklab(27.67% 0.0153 -0.0103)
OKLCHoklch(27.67% 0.018 326)
XYZxyz(2.2173, 2.0705, 2.7650)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D252D #252D25
analogous
#29252D #2D252D #2D2529
triadic
#2D252D #2D2D25 #252D2D
tetradic
#2D252D #2D2925 #252D25 #25292D
square
#2D252D #2D2925 #252D25 #25292D
split-complementary
#2D252D #292D25 #252D29
monochromatic
#110E11 #110E11 #2D252D #4F414F #705C70

Accessibility & contrast

On white

14.85
#2D252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2D252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D252D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D252D#FFFFFF#000000##FFFFFF
##2D252D1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#26282D
Tritanopia (blue-blind)
#2E2628
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d252d;
/* rgb */ color: rgb(45, 37, 45);
/* oklch */ color: oklch(27.7% 0.018 326.0);
Tailwind
colors: {
  custom: {
    50: '#665f65',
    500: '#2d252d',
    950: '#000000',
  },
}
SCSS
$custom: #2d252d;
$custom-light: #665f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d252d",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 9.756,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27673,
    "c": 0.01849,
    "h": 326
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#2D252D
secondary
#515D51
accent
#B37575
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050405
muted
#7A797A

Preview Lab

Preview with #2D252D

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

Preview Lab → · Contrast checker → · Palette generator →

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