#291D2D#291D2D

#291D2D is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.3% C 0.034 H 317.5°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#291D2D
RGBrgb(41, 29, 45)
HSLhsl(285, 22%, 15%)
HSVhsv(285, 36%, 18%)
CMYKcmyk(8.9%, 35.6%, 0%, 82.4%)
CIE-LABlab(12.86, 9.56, -8.44)
CIE-LCHlch(12.86, 12.76, 318.55°)
OKLaboklab(25.25% 0.0251 -0.023)
OKLCHoklch(25.25% 0.034 317.5)
XYZxyz(1.8274, 1.5396, 2.6830)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D2D #212D1D
analogous
#211D2D #291D2D #2D1D29
triadic
#291D2D #2D291D #1D2D29
tetradic
#291D2D #2D211D #212D1D #1D292D
square
#291D2D #2D211D #212D1D #1D292D
split-complementary
#291D2D #292D1D #1D2D21
monochromatic
#110C13 #110C13 #291D2D #4B3552 #6D4D77

Accessibility & contrast

On white

16.06
#291D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D2D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D2D#FFFFFF#000000##FFFFFF
##291D2D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202E
Deuteranopia (green-blind)
#1E222C
Tritanopia (blue-blind)
#291F23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291d2d;
/* rgb */ color: rgb(41, 29, 45);
/* oklch */ color: oklch(25.3% 0.034 317.5);
Tailwind
colors: {
  custom: {
    50: '#635965',
    500: '#291d2d',
    950: '#000000',
  },
}
SCSS
$custom: #291d2d;
$custom-light: #635965;
$custom-dark: #000000;
JSON
{
  "hex": "#291d2d",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 285,
    "s": 21.622,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25254,
    "c": 0.03406,
    "h": 317.5
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#291D2D
secondary
#4D5F46
accent
#BE6A7F
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #291D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#291D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva