#291127#291127

#291127 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.4% C 0.054 H 330.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#291127
RGBrgb(41, 17, 39)
HSLhsl(305, 41%, 11%)
HSVhsv(305, 59%, 16%)
CMYKcmyk(0%, 58.5%, 4.9%, 83.9%)
CIE-LABlab(9.15, 16.49, -9.74)
CIE-LCHlch(9.15, 19.15, 329.43°)
OKLaboklab(22.35% 0.0466 -0.0265)
OKLCHoklch(22.35% 0.054 330.3)
XYZxyz(1.4811, 1.0189, 2.0377)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291127 #112913
analogous
#1F1129 #291127 #29111B
triadic
#291127 #272911 #112729
tetradic
#291127 #291F11 #112913 #111B29
square
#291127 #291F11 #112913 #111B29
split-complementary
#291127 #1B2911 #11291F
monochromatic
#160915 #160915 #291127 #542350 #803579

Accessibility & contrast

On white

17.44
#291127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#291127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291127
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291127#FFFFFF#000000##FFFFFF
##2911271.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101828
Deuteranopia (green-blind)
#171B26
Tritanopia (blue-blind)
#2B131A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #291127;
/* rgb */ color: rgb(41, 17, 39);
/* oklch */ color: oklch(22.4% 0.054 330.3);
Tailwind
colors: {
  custom: {
    50: '#635061',
    500: '#291127',
    950: '#000000',
  },
}
SCSS
$custom: #291127;
$custom-light: #635061;
$custom-dark: #000000;
JSON
{
  "hex": "#291127",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 305,
    "s": 41.379,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22354,
    "c": 0.05363,
    "h": 330.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#291127
secondary
#356139
accent
#D16157
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050205
muted
#7A7879

Preview Lab

Preview with #291127

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

Preview Lab → · Contrast checker → · Palette generator →

#291127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva