#801171#801171

#801171 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 334.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#801171
RGBrgb(128, 17, 113)
HSLhsl(308, 77%, 28%)
HSVhsv(308, 87%, 50%)
CMYKcmyk(0%, 86.7%, 11.7%, 49.8%)
CIE-LABlab(29.87, 53.69, -26.84)
CIE-LCHlch(29.87, 60.03, 333.44°)
OKLaboklab(41.86% 0.1569 -0.0735)
OKLCHoklch(41.86% 0.173 334.9)
XYZxyz(12.0833, 6.1835, 16.1767)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801171 #118020
analogous
#571180 #801171 #801139
triadic
#801171 #718011 #117180
tetradic
#801171 #805711 #118020 #113980
square
#801171 #805711 #118020 #113980
split-complementary
#801171 #398011 #118057
monochromatic
#1B0418 #4A0A41 #801171 #B618A1 #E329C9

Accessibility & contrast

On white

9.39
#801171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#801171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801171
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801171#FFFFFF#000000##FFFFFF
##8011711.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#871E42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #801171;
/* rgb */ color: rgb(128, 17, 113);
/* oklch */ color: oklch(41.9% 0.173 334.9);
Tailwind
colors: {
  custom: {
    50: '#a9619a',
    500: '#801171',
    950: '#000000',
  },
}
SCSS
$custom: #801171;
$custom-light: #a9619a;
$custom-dark: #000000;
JSON
{
  "hex": "#801171",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 308.108,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.17326,
    "h": 334.9
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#801171
secondary
#37B648
accent
#F34E35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801171

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

Preview Lab → · Contrast checker → · Palette generator →

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