#841C87#841C87

#841C87 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.182 H 326.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#841C87
RGBrgb(132, 28, 135)
HSLhsl(298, 66%, 32%)
HSVhsv(298, 79%, 53%)
CMYKcmyk(2.2%, 79.3%, 0%, 47.1%)
CIE-LABlab(32.89, 55.23, -35.86)
CIE-LCHlch(32.89, 65.85, 327.00°)
OKLaboklab(44.56% 0.1526 -0.0997)
OKLCHoklch(44.56% 0.182 326.9)
XYZxyz(14.3039, 7.4863, 23.6086)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C87 #1F871C
analogous
#4F1C87 #841C87 #871C55
triadic
#841C87 #87841C #1C8784
tetradic
#841C87 #874F1C #1F871C #1C5587
square
#841C87 #874F1C #1F871C #1C5587
split-complementary
#841C87 #55871C #1C874F
monochromatic
#210722 #521154 #841C87 #B627BA #D445D8

Accessibility & contrast

On white

8.41
#841C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#841C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C87
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C87#FFFFFF#000000##FFFFFF
##841C871.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.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: #841c87;
/* rgb */ color: rgb(132, 28, 135);
/* oklch */ color: oklch(44.6% 0.182 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#841c87',
    950: '#000000',
  },
}
SCSS
$custom: #841c87;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841c87",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 298.318,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.18227,
    "h": 326.9
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#841C87
secondary
#48BA45
accent
#E93F44
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841C87

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

Preview Lab → · Contrast checker → · Palette generator →

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