#801771#801771

#801771 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.168 H 334.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#801771
RGBrgb(128, 23, 113)
HSLhsl(309, 70%, 30%)
HSVhsv(309, 82%, 50%)
CMYKcmyk(0%, 82%, 11.7%, 49.8%)
CIE-LABlab(30.39, 52.19, -26.02)
CIE-LCHlch(30.39, 58.32, 333.50°)
OKLaboklab(42.23% 0.1524 -0.0712)
OKLCHoklch(42.23% 0.168 334.9)
XYZxyz(12.1893, 6.3954, 16.2120)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801771 #178026
analogous
#5A1780 #801771 #80173D
triadic
#801771 #718017 #177180
tetradic
#801771 #805A17 #178026 #173D80
square
#801771 #805A17 #178026 #173D80
split-complementary
#801771 #3D8017 #17805A
monochromatic
#1A0517 #4C0E43 #801771 #B4209F #DB36C3

Accessibility & contrast

On white

9.22
#801771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#801771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801771
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801771#FFFFFF#000000##FFFFFF
##8017711.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#872144
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801771;
/* rgb */ color: rgb(128, 23, 113);
/* oklch */ color: oklch(42.2% 0.168 334.9);
Tailwind
colors: {
  custom: {
    50: '#a8629a',
    500: '#801771',
    950: '#000000',
  },
}
SCSS
$custom: #801771;
$custom-light: #a8629a;
$custom-dark: #000000;
JSON
{
  "hex": "#801771",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 308.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.16825,
    "h": 334.9
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#801771
secondary
#3EB44F
accent
#EC553B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801771

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

Preview Lab → · Contrast checker → · Palette generator →

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