#842081#842081

#842081 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 329.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#842081
RGBrgb(132, 32, 129)
HSLhsl(302, 61%, 32%)
HSVhsv(302, 76%, 52%)
CMYKcmyk(0%, 75.8%, 2.3%, 48.2%)
CIE-LABlab(32.97, 52.94, -31.99)
CIE-LCHlch(32.97, 61.85, 328.85°)
OKLaboklab(44.51% 0.1492 -0.0884)
OKLCHoklch(44.51% 0.173 329.3)
XYZxyz(13.9946, 7.5246, 21.4799)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842081 #208423
analogous
#552084 #842081 #84204F
triadic
#842081 #818420 #208184
tetradic
#842081 #845520 #208423 #204F84
square
#842081 #845520 #208423 #204F84
split-complementary
#842081 #4F8420 #208455
monochromatic
#210821 #531451 #842081 #B52CB1 #D34BCF

Accessibility & contrast

On white

8.38
#842081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#842081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##842081#FFFFFF#000000##FFFFFF
##8420811.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#892E4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842081;
/* rgb */ color: rgb(132, 32, 129);
/* oklch */ color: oklch(44.5% 0.173 329.3);
Tailwind
colors: {
  custom: {
    50: '#ab67a6',
    500: '#842081',
    950: '#000000',
  },
}
SCSS
$custom: #842081;
$custom-light: #ab67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#842081",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 301.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.1734,
    "h": 329.3
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#842081
secondary
#4AB64D
accent
#E44944
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842081

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

Preview Lab → · Contrast checker → · Palette generator →

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