#291E2D#291E2D

#291E2D is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.5% C 0.032 H 316.9°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#291E2D
RGBrgb(41, 30, 45)
HSLhsl(284, 20%, 15%)
HSVhsv(284, 33%, 18%)
CMYKcmyk(8.9%, 33.3%, 0%, 82.4%)
CIE-LABlab(13.17, 8.84, -7.97)
CIE-LCHlch(13.17, 11.90, 317.94°)
OKLaboklab(25.49% 0.0232 -0.0217)
OKLCHoklch(25.49% 0.032 316.9)
XYZxyz(1.8523, 1.5895, 2.6913)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E2D #222D1E
analogous
#221E2D #291E2D #2D1E2A
triadic
#291E2D #2D291E #1E2D29
tetradic
#291E2D #2D221E #222D1E #1E2A2D
square
#291E2D #2D221E #222D1E #1E2A2D
split-complementary
#291E2D #2A2D1E #1E2D22
monochromatic
#110C12 #110C12 #291E2D #4A3652 #6C4F76

Accessibility & contrast

On white

15.94
#291E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E2D
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E2D#FFFFFF#000000##FFFFFF
##291E2D1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212E
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#292023
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291e2d;
/* rgb */ color: rgb(41, 30, 45);
/* oklch */ color: oklch(25.5% 0.032 316.9);
Tailwind
colors: {
  custom: {
    50: '#635965',
    500: '#291e2d',
    950: '#000000',
  },
}
SCSS
$custom: #291e2d;
$custom-light: #635965;
$custom-dark: #000000;
JSON
{
  "hex": "#291e2d",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 284,
    "s": 20,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25489,
    "c": 0.03174,
    "h": 316.9
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#291E2D
secondary
#4E5F48
accent
#BD6B81
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #291E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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