#291336#291336

#291336 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.069 H 311.3°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#291336
RGBrgb(41, 19, 54)
HSLhsl(278, 48%, 14%)
HSVhsv(278, 65%, 21%)
CMYKcmyk(24.1%, 64.8%, 0%, 78.8%)
CIE-LABlab(10.58, 19.01, -18.51)
CIE-LCHlch(10.58, 26.54, 315.77°)
OKLaboklab(23.72% 0.0455 -0.0519)
OKLCHoklch(23.72% 0.069 311.3)
XYZxyz(1.8131, 1.2035, 3.6261)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291336 #203613
analogous
#181336 #291336 #361332
triadic
#291336 #362913 #133629
tetradic
#291336 #361813 #203613 #133236
square
#291336 #361813 #203613 #133236
split-complementary
#291336 #323613 #133618
monochromatic
#110817 #110817 #291336 #4B2363 #6E3391

Accessibility & contrast

On white

16.92
#291336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#291336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291336
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291336#FFFFFF#000000##FFFFFF
##2913361.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C37
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#271922
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #291336;
/* rgb */ color: rgb(41, 19, 54);
/* oklch */ color: oklch(23.7% 0.069 311.3);
Tailwind
colors: {
  custom: {
    50: '#64516d',
    500: '#291336',
    950: '#000000',
  },
}
SCSS
$custom: #291336;
$custom-light: #64516d;
$custom-dark: #000000;
JSON
{
  "hex": "#291336",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 277.714,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23719,
    "c": 0.06901,
    "h": 311.3
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#291336
secondary
#4B6E37
accent
#D85083
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #291336

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

Preview Lab → · Contrast checker → · Palette generator →

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