#291B2E#291B2E

#291B2E is a very dark, muted purple. Relative luminance 0.015; OKLCH L 24.8% C 0.040 H 316.9°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#291B2E
RGBrgb(41, 27, 46)
HSLhsl(284, 26%, 14%)
HSVhsv(284, 41%, 18%)
CMYKcmyk(10.9%, 41.3%, 0%, 82%)
CIE-LABlab(12.30, 11.26, -10.02)
CIE-LCHlch(12.30, 15.08, 318.34°)
OKLaboklab(24.85% 0.0294 -0.0274)
OKLCHoklch(24.85% 0.04 316.9)
XYZxyz(1.7995, 1.4526, 2.7698)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B2E #202E1B
analogous
#201B2E #291B2E #2E1B2A
triadic
#291B2E #2E291B #1B2E29
tetradic
#291B2E #2E201B #202E1B #1B2A2E
square
#291B2E #2E201B #202E1B #1B2A2E
split-complementary
#291B2E #2A2E1B #1B2E20
monochromatic
#110B13 #110B13 #291B2E #4B3255 #6E487B

Accessibility & contrast

On white

16.27
#291B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B2E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B2E#FFFFFF#000000##FFFFFF
##291B2E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#1C212D
Tritanopia (blue-blind)
#291D22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291b2e;
/* rgb */ color: rgb(41, 27, 46);
/* oklch */ color: oklch(24.8% 0.040 316.9);
Tailwind
colors: {
  custom: {
    50: '#635766',
    500: '#291b2e',
    950: '#000000',
  },
}
SCSS
$custom: #291b2e;
$custom-light: #635766;
$custom-dark: #000000;
JSON
{
  "hex": "#291b2e",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 284.211,
    "s": 26.027,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24848,
    "c": 0.04019,
    "h": 316.9
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#291B2E
secondary
#4B6143
accent
#C2657E
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #291B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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