#291F2D#291F2D

#291F2D is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.7% C 0.029 H 316.2°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#291F2D
RGBrgb(41, 31, 45)
HSLhsl(283, 18%, 15%)
HSVhsv(283, 31%, 18%)
CMYKcmyk(8.9%, 31.1%, 0%, 82.4%)
CIE-LABlab(13.48, 8.12, -7.50)
CIE-LCHlch(13.48, 11.05, 317.26°)
OKLaboklab(25.73% 0.0212 -0.0204)
OKLCHoklch(25.73% 0.029 316.2)
XYZxyz(1.8780, 1.6409, 2.6999)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F2D #232D1F
analogous
#221F2D #291F2D #2D1F2A
triadic
#291F2D #2D291F #1F2D29
tetradic
#291F2D #2D221F #232D1F #1F2A2D
square
#291F2D #2D221F #232D1F #1F2A2D
split-complementary
#291F2D #2A2D1F #1F2D22
monochromatic
#110C12 #110C12 #291F2D #4A3851 #6B5175

Accessibility & contrast

On white

15.81
#291F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F2D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F2D#FFFFFF#000000##FFFFFF
##291F2D1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222E
Deuteranopia (green-blind)
#1F232D
Tritanopia (blue-blind)
#292124
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291f2d;
/* rgb */ color: rgb(41, 31, 45);
/* oklch */ color: oklch(25.7% 0.029 316.2);
Tailwind
colors: {
  custom: {
    50: '#625a65',
    500: '#291f2d',
    950: '#000000',
  },
}
SCSS
$custom: #291f2d;
$custom-light: #625a65;
$custom-dark: #000000;
JSON
{
  "hex": "#291f2d",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 282.857,
    "s": 18.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.02941,
    "h": 316.2
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#291F2D
secondary
#4F5F49
accent
#BB6D83
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #291F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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