#841A76#841A76

#841A76 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 334.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#841A76
RGBrgb(132, 26, 118)
HSLhsl(308, 67%, 31%)
HSVhsv(308, 80%, 52%)
CMYKcmyk(0%, 80.3%, 10.6%, 48.2%)
CIE-LABlab(31.70, 53.03, -27.09)
CIE-LCHlch(31.70, 59.55, 332.94°)
OKLaboklab(43.4% 0.1543 -0.0742)
OKLCHoklch(43.4% 0.171 334.3)
XYZxyz(13.1553, 6.9535, 17.7853)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A76 #1A8428
analogous
#5D1A84 #841A76 #841A41
triadic
#841A76 #76841A #1A7684
tetradic
#841A76 #845D1A #1A8428 #1A4184
square
#841A76 #845D1A #1A8428 #1A4184
split-complementary
#841A76 #41841A #1A845D
monochromatic
#1E061B #511048 #841A76 #B724A4 #D93FC5

Accessibility & contrast

On white

8.79
#841A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#841A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A76
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A76#FFFFFF#000000##FFFFFF
##841A761.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184178
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#8B2547
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a76;
/* rgb */ color: rgb(132, 26, 118);
/* oklch */ color: oklch(43.4% 0.171 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#841a76',
    950: '#000000',
  },
}
SCSS
$custom: #841a76;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#841a76",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 307.925,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.1712,
    "h": 334.3
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#841A76
secondary
#42B852
accent
#EA553E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A76

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

Preview Lab → · Contrast checker → · Palette generator →

#841A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva