#841B87#841B87

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

Color values

HEX#841B87
RGBrgb(132, 27, 135)
HSLhsl(298, 67%, 32%)
HSVhsv(298, 80%, 53%)
CMYKcmyk(2.2%, 80%, 0%, 47.1%)
CIE-LABlab(32.79, 55.52, -36.02)
CIE-LCHlch(32.79, 66.18, 327.02°)
OKLaboklab(44.49% 0.1534 -0.1001)
OKLCHoklch(44.49% 0.183 326.9)
XYZxyz(14.2806, 7.4397, 23.6008)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B87 #1E871B
analogous
#4E1B87 #841B87 #871B54
triadic
#841B87 #87841B #1B8784
tetradic
#841B87 #874E1B #1E871B #1B5487
square
#841B87 #874E1B #1E871B #1B5487
split-complementary
#841B87 #54871B #1B874E
monochromatic
#200721 #521154 #841B87 #B625BA #D543D9

Accessibility & contrast

On white

8.44
#841B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#841B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B87
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B87#FFFFFF#000000##FFFFFF
##841B871.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#882F51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841b87;
/* rgb */ color: rgb(132, 27, 135);
/* oklch */ color: oklch(44.5% 0.183 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#841b87',
    950: '#000000',
  },
}
SCSS
$custom: #841b87;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841b87",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 298.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.18322,
    "h": 326.9
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#841B87
secondary
#47BA44
accent
#EA3E43
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B87

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

Preview Lab → · Contrast checker → · Palette generator →

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