#801881#801881

#801881 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.179 H 327.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#801881
RGBrgb(128, 24, 129)
HSLhsl(299, 69%, 30%)
HSVhsv(299, 81%, 51%)
CMYKcmyk(0.8%, 81.4%, 0%, 49.4%)
CIE-LABlab(31.41, 54.50, -34.51)
CIE-LCHlch(31.41, 64.51, 327.66°)
OKLaboklab(43.26% 0.1517 -0.0958)
OKLCHoklch(43.26% 0.179 327.7)
XYZxyz(13.1910, 6.8284, 21.3879)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801881 #198118
analogous
#4C1881 #801881 #81184D
triadic
#801881 #818018 #188180
tetradic
#801881 #814C18 #198118 #184D81
square
#801881 #814C18 #198118 #184D81
split-complementary
#801881 #4D8118 #18814C
monochromatic
#1A051A #4D0E4D #801881 #B322B5 #D939DA

Accessibility & contrast

On white

8.88
#801881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#801881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801881
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801881#FFFFFF#000000##FFFFFF
##8018811.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#364E7F
Tritanopia (blue-blind)
#842B4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801881;
/* rgb */ color: rgb(128, 24, 129);
/* oklch */ color: oklch(43.3% 0.179 327.7);
Tailwind
colors: {
  custom: {
    50: '#a863a6',
    500: '#801881',
    950: '#000000',
  },
}
SCSS
$custom: #801881;
$custom-light: #a863a6;
$custom-dark: #000000;
JSON
{
  "hex": "#801881",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 299.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.17939,
    "h": 327.7
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#801881
secondary
#41B540
accent
#EB3C3E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801881

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

Preview Lab → · Contrast checker → · Palette generator →

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