#841882#841882

#841882 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 329.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#841882
RGBrgb(132, 24, 130)
HSLhsl(301, 69%, 31%)
HSVhsv(301, 82%, 52%)
CMYKcmyk(0%, 81.8%, 1.5%, 48.2%)
CIE-LABlab(32.19, 55.51, -33.85)
CIE-LCHlch(32.19, 65.02, 328.63°)
OKLaboklab(43.97% 0.156 -0.0938)
OKLCHoklch(43.97% 0.182 329)
XYZxyz(13.8715, 7.1716, 21.7684)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841882 #18841A
analogous
#501884 #841882 #84184C
triadic
#841882 #828418 #188284
tetradic
#841882 #845018 #18841A #184C84
square
#841882 #845018 #18841A #184C84
split-complementary
#841882 #4C8418 #188450
monochromatic
#1C051C #500F4F #841882 #B821B5 #DB3BD8

Accessibility & contrast

On white

8.63
#841882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841882
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841882#FFFFFF#000000##FFFFFF
##8418821.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#3A517F
Tritanopia (blue-blind)
#892A4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841882;
/* rgb */ color: rgb(132, 24, 130);
/* oklch */ color: oklch(44.0% 0.182 329.0);
Tailwind
colors: {
  custom: {
    50: '#ab64a7',
    500: '#841882',
    950: '#000000',
  },
}
SCSS
$custom: #841882;
$custom-light: #ab64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#841882",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 301.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.18204,
    "h": 329
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#841882
secondary
#40B842
accent
#EC3F3C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841882

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

Preview Lab → · Contrast checker → · Palette generator →

#841882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva