#841D87#841D87

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

Color values

HEX#841D87
RGBrgb(132, 29, 135)
HSLhsl(298, 65%, 32%)
HSVhsv(298, 79%, 53%)
CMYKcmyk(2.2%, 78.5%, 0%, 47.1%)
CIE-LABlab(32.99, 54.92, -35.69)
CIE-LCHlch(32.99, 65.50, 326.98°)
OKLaboklab(44.64% 0.1518 -0.0992)
OKLCHoklch(44.64% 0.181 326.8)
XYZxyz(14.3280, 7.5346, 23.6166)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D87 #20871D
analogous
#4F1D87 #841D87 #871D55
triadic
#841D87 #87841D #1D8784
tetradic
#841D87 #874F1D #20871D #1D5587
square
#841D87 #874F1D #20871D #1D5587
split-complementary
#841D87 #55871D #1D874F
monochromatic
#210722 #531255 #841D87 #B528B9 #D347D7

Accessibility & contrast

On white

8.38
#841D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#841D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D87
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D87#FFFFFF#000000##FFFFFF
##841D871.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#883051
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841d87;
/* rgb */ color: rgb(132, 29, 135);
/* oklch */ color: oklch(44.6% 0.181 326.8);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#841d87',
    950: '#000000',
  },
}
SCSS
$custom: #841d87;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841d87",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 298.302,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.1813,
    "h": 326.8
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#841D87
secondary
#4AB946
accent
#E84045
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841D87

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

Preview Lab → · Contrast checker → · Palette generator →

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