#291332#291332

#291332 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.4% C 0.063 H 315.3°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#291332
RGBrgb(41, 19, 50)
HSLhsl(283, 45%, 14%)
HSVhsv(283, 62%, 20%)
CMYKcmyk(18%, 62%, 0%, 80.4%)
CIE-LABlab(10.32, 17.92, -16.04)
CIE-LCHlch(10.32, 24.05, 318.17°)
OKLaboklab(23.43% 0.0451 -0.0447)
OKLCHoklch(23.43% 0.063 315.3)
XYZxyz(1.7230, 1.1675, 3.1516)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291332 #1C3213
analogous
#191332 #291332 #32132B
triadic
#291332 #322913 #133229
tetradic
#291332 #321913 #1C3213 #132B32
square
#291332 #321913 #1C3213 #132B32
split-complementary
#291332 #2B3213 #133219
monochromatic
#120816 #120816 #291332 #4D245E #72358B

Accessibility & contrast

On white

17.03
#291332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#291332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291332
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291332#FFFFFF#000000##FFFFFF
##2913321.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#281820
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #291332;
/* rgb */ color: rgb(41, 19, 50);
/* oklch */ color: oklch(23.4% 0.063 315.3);
Tailwind
colors: {
  custom: {
    50: '#64516a',
    500: '#291332',
    950: '#000000',
  },
}
SCSS
$custom: #291332;
$custom-light: #64516a;
$custom-dark: #000000;
JSON
{
  "hex": "#291332",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 282.581,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23434,
    "c": 0.06348,
    "h": 315.3
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#291332
secondary
#466A37
accent
#D55379
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #291332

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

Preview Lab → · Contrast checker → · Palette generator →

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