#841B84#841B84

#841B84 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.181 H 328.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#841B84
RGBrgb(132, 27, 132)
HSLhsl(300, 66%, 31%)
HSVhsv(300, 80%, 52%)
CMYKcmyk(0%, 79.5%, 0%, 48.2%)
CIE-LABlab(32.60, 55.01, -34.45)
CIE-LCHlch(32.60, 64.90, 327.94°)
OKLaboklab(44.3% 0.1536 -0.0955)
OKLCHoklch(44.3% 0.181 328.1)
XYZxyz(14.0723, 7.3564, 22.5041)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B84 #1B841B
analogous
#4F1B84 #841B84 #841B4F
triadic
#841B84 #84841B #1B8484
tetradic
#841B84 #844F1B #1B841B #1B4F84
square
#841B84 #844F1B #1B841B #1B4F84
split-complementary
#841B84 #4F841B #1B844F
monochromatic
#1E061E #511151 #841B84 #B725B7 #D841D8

Accessibility & contrast

On white

8.50
#841B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#841B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B84
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B84#FFFFFF#000000##FFFFFF
##841B841.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#882D4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841b84;
/* rgb */ color: rgb(132, 27, 132);
/* oklch */ color: oklch(44.3% 0.181 328.1);
Tailwind
colors: {
  custom: {
    50: '#ab65a8',
    500: '#841b84',
    950: '#000000',
  },
}
SCSS
$custom: #841b84;
$custom-light: #ab65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#841b84",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 300,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.18086,
    "h": 328.1
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#841B84
secondary
#43B743
accent
#E93F3F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B84

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

Preview Lab → · Contrast checker → · Palette generator →

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