#801A82#801A82

#801A82 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.178 H 327.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#801A82
RGBrgb(128, 26, 130)
HSLhsl(299, 67%, 31%)
HSVhsv(299, 80%, 51%)
CMYKcmyk(1.5%, 80%, 0%, 49%)
CIE-LABlab(31.67, 54.10, -34.73)
CIE-LCHlch(31.67, 64.29, 327.31°)
OKLaboklab(43.46% 0.15 -0.0965)
OKLCHoklch(43.46% 0.178 327.3)
XYZxyz(13.3005, 6.9407, 21.7539)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A82 #1C821A
analogous
#4C1A82 #801A82 #821A50
triadic
#801A82 #82801A #1A8280
tetradic
#801A82 #824C1A #1C821A #1A5082
square
#801A82 #824C1A #1C821A #1A5082
split-complementary
#801A82 #50821A #1A824C
monochromatic
#1C061C #4E104F #801A82 #B224B5 #D53ED8

Accessibility & contrast

On white

8.79
#801A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#801A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A82
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A82#FFFFFF#000000##FFFFFF
##801A821.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#842C4E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801a82;
/* rgb */ color: rgb(128, 26, 130);
/* oklch */ color: oklch(43.5% 0.178 327.3);
Tailwind
colors: {
  custom: {
    50: '#a864a7',
    500: '#801a82',
    950: '#000000',
  },
}
SCSS
$custom: #801a82;
$custom-light: #a864a7;
$custom-dark: #000000;
JSON
{
  "hex": "#801a82",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 298.846,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.17834,
    "h": 327.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#801A82
secondary
#44B642
accent
#EA3E42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801A82

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

Preview Lab → · Contrast checker → · Palette generator →

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