#841C82#841C82

#841C82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.178 H 328.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#841C82
RGBrgb(132, 28, 130)
HSLhsl(301, 65%, 31%)
HSVhsv(301, 79%, 52%)
CMYKcmyk(0%, 78.8%, 1.5%, 48.2%)
CIE-LABlab(32.59, 54.38, -33.23)
CIE-LCHlch(32.59, 63.72, 328.57°)
OKLaboklab(44.25% 0.1528 -0.092)
OKLCHoklch(44.25% 0.178 328.9)
XYZxyz(13.9601, 7.3488, 21.7980)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C82 #1C841E
analogous
#521C84 #841C82 #841C4E
triadic
#841C82 #82841C #1C8284
tetradic
#841C82 #84521C #1C841E #1C4E84
square
#841C82 #84521C #1C841E #1C4E84
split-complementary
#841C82 #4E841C #1C8452
monochromatic
#1F071F #521150 #841C82 #B627B4 #D743D4

Accessibility & contrast

On white

8.50
#841C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#841C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C82
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C82#FFFFFF#000000##FFFFFF
##841C821.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054485
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#892C4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841c82;
/* rgb */ color: rgb(132, 28, 130);
/* oklch */ color: oklch(44.3% 0.178 328.9);
Tailwind
colors: {
  custom: {
    50: '#ab66a7',
    500: '#841c82',
    950: '#000000',
  },
}
SCSS
$custom: #841c82;
$custom-light: #ab66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#841c82",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 301.154,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.17834,
    "h": 328.9
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#841C82
secondary
#45B747
accent
#E84340
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841C82

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

Preview Lab → · Contrast checker → · Palette generator →

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