#801F82#801F82

#801F82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.173 H 327.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#801F82
RGBrgb(128, 31, 130)
HSLhsl(299, 61%, 32%)
HSVhsv(299, 76%, 51%)
CMYKcmyk(1.5%, 76.2%, 0%, 49%)
CIE-LABlab(32.22, 52.53, -33.86)
CIE-LCHlch(32.22, 62.50, 327.20°)
OKLaboklab(43.85% 0.1456 -0.094)
OKLCHoklch(43.85% 0.173 327.2)
XYZxyz(13.4211, 7.1818, 21.7941)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F82 #21821F
analogous
#4F1F82 #801F82 #821F53
triadic
#801F82 #82801F #1F8280
tetradic
#801F82 #824F1F #21821F #1F5382
square
#801F82 #824F1F #21821F #1F5382
split-complementary
#801F82 #53821F #1F824F
monochromatic
#1F071F #4F1351 #801F82 #B12BB3 #D148D3

Accessibility & contrast

On white

8.62
#801F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#801F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F82
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F82#FFFFFF#000000##FFFFFF
##801F821.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054485
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#842F4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801f82;
/* rgb */ color: rgb(128, 31, 130);
/* oklch */ color: oklch(43.9% 0.173 327.2);
Tailwind
colors: {
  custom: {
    50: '#a866a7',
    500: '#801f82',
    950: '#000000',
  },
}
SCSS
$custom: #801f82;
$custom-light: #a866a7;
$custom-dark: #000000;
JSON
{
  "hex": "#801f82",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 298.788,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.17328,
    "h": 327.2
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#801F82
secondary
#4AB548
accent
#E54346
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801F82

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

Preview Lab → · Contrast checker → · Palette generator →

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