#801D82#801D82

#801D82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 327.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#801D82
RGBrgb(128, 29, 130)
HSLhsl(299, 64%, 31%)
HSVhsv(299, 78%, 51%)
CMYKcmyk(1.5%, 77.7%, 0%, 49%)
CIE-LABlab(31.99, 53.19, -34.22)
CIE-LCHlch(31.99, 63.25, 327.24°)
OKLaboklab(43.69% 0.1474 -0.095)
OKLCHoklch(43.69% 0.175 327.2)
XYZxyz(13.3705, 7.0806, 21.7772)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D82 #1F821D
analogous
#4D1D82 #801D82 #821D51
triadic
#801D82 #82801D #1D8280
tetradic
#801D82 #824D1D #1F821D #1D5182
square
#801D82 #824D1D #1F821D #1D5182
split-complementary
#801D82 #51821D #1D824D
monochromatic
#1D071E #4F1250 #801D82 #B128B4 #D244D5

Accessibility & contrast

On white

8.69
#801D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#801D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D82
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D82#FFFFFF#000000##FFFFFF
##801D821.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#842E4F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801d82;
/* rgb */ color: rgb(128, 29, 130);
/* oklch */ color: oklch(43.7% 0.175 327.2);
Tailwind
colors: {
  custom: {
    50: '#a865a7',
    500: '#801d82',
    950: '#000000',
  },
}
SCSS
$custom: #801d82;
$custom-light: #a865a7;
$custom-dark: #000000;
JSON
{
  "hex": "#801d82",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 298.812,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.17539,
    "h": 327.2
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#801D82
secondary
#48B546
accent
#E74145
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D82

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

Preview Lab → · Contrast checker → · Palette generator →

#801D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva