#801D71#801D71

#801D71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.162 H 335.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#801D71
RGBrgb(128, 29, 113)
HSLhsl(309, 63%, 31%)
HSVhsv(309, 77%, 50%)
CMYKcmyk(0%, 77.3%, 11.7%, 49.8%)
CIE-LABlab(31.02, 50.37, -25.03)
CIE-LCHlch(31.02, 56.25, 333.58°)
OKLaboklab(42.69% 0.147 -0.0684)
OKLCHoklch(42.69% 0.162 335)
XYZxyz(12.3222, 6.6613, 16.2564)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D71 #1D802C
analogous
#5D1D80 #801D71 #801D3F
triadic
#801D71 #71801D #1D7180
tetradic
#801D71 #805D1D #1D802C #1D3F80
square
#801D71 #805D1D #1D802C #1D3F80
split-complementary
#801D71 #3F801D #1D805D
monochromatic
#1C0619 #4E1245 #801D71 #B2289D #D443BE

Accessibility & contrast

On white

9.01
#801D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#801D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D71
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D71#FFFFFF#000000##FFFFFF
##801D711.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#872545
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801d71;
/* rgb */ color: rgb(128, 29, 113);
/* oklch */ color: oklch(42.7% 0.162 335.0);
Tailwind
colors: {
  custom: {
    50: '#a8659a',
    500: '#801d71',
    950: '#000000',
  },
}
SCSS
$custom: #801d71;
$custom-light: #a8659a;
$custom-dark: #000000;
JSON
{
  "hex": "#801d71",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 309.091,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.16217,
    "h": 335
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#801D71
secondary
#45B356
accent
#E65B42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801D71

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

Preview Lab → · Contrast checker → · Palette generator →

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