#841B82#841B82

#841B82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.179 H 329.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#841B82
RGBrgb(132, 27, 130)
HSLhsl(301, 66%, 31%)
HSVhsv(301, 80%, 52%)
CMYKcmyk(0%, 79.5%, 1.5%, 48.2%)
CIE-LABlab(32.49, 54.67, -33.39)
CIE-LCHlch(32.49, 64.06, 328.59°)
OKLaboklab(44.18% 0.1536 -0.0925)
OKLCHoklch(44.18% 0.179 329)
XYZxyz(13.9368, 7.3022, 21.7902)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B82 #1B841D
analogous
#511B84 #841B82 #841B4D
triadic
#841B82 #82841B #1B8284
tetradic
#841B82 #84511B #1B841D #1B4D84
square
#841B82 #84511B #1B841D #1B4D84
split-complementary
#841B82 #4D841B #1B8451
monochromatic
#1E061E #511150 #841B82 #B725B4 #D841D5

Accessibility & contrast

On white

8.54
#841B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B82
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B82#FFFFFF#000000##FFFFFF
##841B821.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#892C4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841b82;
/* rgb */ color: rgb(132, 27, 130);
/* oklch */ color: oklch(44.2% 0.179 329.0);
Tailwind
colors: {
  custom: {
    50: '#ab65a7',
    500: '#841b82',
    950: '#000000',
  },
}
SCSS
$custom: #841b82;
$custom-light: #ab65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#841b82",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 301.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.1793,
    "h": 329
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#841B82
secondary
#43B746
accent
#E9423F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841B82

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

Preview Lab → · Contrast checker → · Palette generator →

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