#841A87#841A87

#841A87 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.184 H 326.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#841A87
RGBrgb(132, 26, 135)
HSLhsl(298, 68%, 32%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(2.2%, 80.7%, 0%, 47.1%)
CIE-LABlab(32.69, 55.81, -36.18)
CIE-LCHlch(32.69, 66.51, 327.04°)
OKLaboklab(44.42% 0.1542 -0.1006)
OKLCHoklch(44.42% 0.184 326.9)
XYZxyz(14.2581, 7.3946, 23.5933)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A87 #1D871A
analogous
#4E1A87 #841A87 #871A54
triadic
#841A87 #87841A #1A8784
tetradic
#841A87 #874E1A #1D871A #1A5487
square
#841A87 #874E1A #1D871A #1A5487
split-complementary
#841A87 #54871A #1A874E
monochromatic
#200620 #521054 #841A87 #B624BA #D641DA

Accessibility & contrast

On white

8.47
#841A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#841A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A87
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A87#FFFFFF#000000##FFFFFF
##841A871.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#882E51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841a87;
/* rgb */ color: rgb(132, 26, 135);
/* oklch */ color: oklch(44.4% 0.184 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#841a87',
    950: '#000000',
  },
}
SCSS
$custom: #841a87;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841a87",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 298.349,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.18413,
    "h": 326.9
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#841A87
secondary
#46BA42
accent
#EB3D42
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841A87

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

Preview Lab → · Contrast checker → · Palette generator →

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