#291F2E#291F2E

#291F2E is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.8% C 0.031 H 314.2°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#291F2E
RGBrgb(41, 31, 46)
HSLhsl(280, 19%, 15%)
HSVhsv(280, 33%, 18%)
CMYKcmyk(10.9%, 32.6%, 0%, 82%)
CIE-LABlab(13.52, 8.38, -8.15)
CIE-LCHlch(13.52, 11.69, 315.81°)
OKLaboklab(25.78% 0.0216 -0.0222)
OKLCHoklch(25.78% 0.031 314.2)
XYZxyz(1.8975, 1.6487, 2.8025)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F2E #242E1F
analogous
#211F2E #291F2E #2E1F2C
triadic
#291F2E #2E291F #1F2E29
tetradic
#291F2E #2E211F #242E1F #1F2C2E
square
#291F2E #2E211F #242E1F #1F2C2E
split-complementary
#291F2E #2C2E1F #1F2E21
monochromatic
#100C12 #100C12 #291F2E #4A3853 #6A5077

Accessibility & contrast

On white

15.79
#291F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291F2E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F2E#FFFFFF#000000##FFFFFF
##291F2E1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291f2e;
/* rgb */ color: rgb(41, 31, 46);
/* oklch */ color: oklch(25.8% 0.031 314.2);
Tailwind
colors: {
  custom: {
    50: '#635a66',
    500: '#291f2e',
    950: '#000000',
  },
}
SCSS
$custom: #291f2e;
$custom-light: #635a66;
$custom-dark: #000000;
JSON
{
  "hex": "#291f2e",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 280,
    "s": 19.481,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25779,
    "c": 0.03097,
    "h": 314.2
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#291F2E
secondary
#516049
accent
#BC6C87
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #291F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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