#841B76#841B76

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

Color values

HEX#841B76
RGBrgb(132, 27, 118)
HSLhsl(308, 66%, 31%)
HSVhsv(308, 80%, 52%)
CMYKcmyk(0%, 79.5%, 10.6%, 48.2%)
CIE-LABlab(31.80, 52.73, -26.92)
CIE-LCHlch(31.80, 59.21, 332.95°)
OKLaboklab(43.47% 0.1534 -0.0738)
OKLCHoklch(43.47% 0.17 334.3)
XYZxyz(13.1778, 6.9986, 17.7929)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B76 #1B8429
analogous
#5D1B84 #841B76 #841B41
triadic
#841B76 #76841B #1B7684
tetradic
#841B76 #845D1B #1B8429 #1B4184
square
#841B76 #845D1B #1B8429 #1B4184
split-complementary
#841B76 #41841B #1B845D
monochromatic
#1E061B #511149 #841B76 #B725A3 #D841C4

Accessibility & contrast

On white

8.75
#841B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#841B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B76
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B76#FFFFFF#000000##FFFFFF
##841B761.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841b76;
/* rgb */ color: rgb(132, 27, 118);
/* oklch */ color: oklch(43.5% 0.170 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab659e',
    500: '#841b76',
    950: '#000000',
  },
}
SCSS
$custom: #841b76;
$custom-light: #ab659e;
$custom-dark: #000000;
JSON
{
  "hex": "#841b76",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 308,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.17023,
    "h": 334.3
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#841B76
secondary
#43B753
accent
#E9563F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B76

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

Preview Lab → · Contrast checker → · Palette generator →

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