#801781#801781

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

Color values

HEX#801781
RGBrgb(128, 23, 129)
HSLhsl(299, 70%, 30%)
HSVhsv(299, 82%, 51%)
CMYKcmyk(0.8%, 82.2%, 0%, 49.4%)
CIE-LABlab(31.32, 54.78, -34.66)
CIE-LCHlch(31.32, 64.82, 327.67°)
OKLaboklab(43.19% 0.1524 -0.0963)
OKLCHoklch(43.19% 0.18 327.7)
XYZxyz(13.1708, 6.7879, 21.3811)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801781 #188117
analogous
#4B1781 #801781 #81174D
triadic
#801781 #818017 #178180
tetradic
#801781 #814B17 #188117 #174D81
square
#801781 #814B17 #188117 #174D81
split-complementary
#801781 #4D8117 #17814B
monochromatic
#1A051A #4C0E4D #801781 #B420B5 #DA37DB

Accessibility & contrast

On white

8.91
#801781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#801781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801781
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801781#FFFFFF#000000##FFFFFF
##8017811.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801781;
/* rgb */ color: rgb(128, 23, 129);
/* oklch */ color: oklch(43.2% 0.180 327.7);
Tailwind
colors: {
  custom: {
    50: '#a963a6',
    500: '#801781',
    950: '#000000',
  },
}
SCSS
$custom: #801781;
$custom-light: #a963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#801781",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 299.434,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.18027,
    "h": 327.7
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#801781
secondary
#40B53E
accent
#ED3B3D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801781

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

Preview Lab → · Contrast checker → · Palette generator →

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