#801F71#801F71

#801F71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 335.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#801F71
RGBrgb(128, 31, 113)
HSLhsl(309, 61%, 31%)
HSVhsv(309, 76%, 50%)
CMYKcmyk(0%, 75.8%, 11.7%, 49.8%)
CIE-LABlab(31.26, 49.70, -24.65)
CIE-LCHlch(31.26, 55.48, 333.61°)
OKLaboklab(42.86% 0.145 -0.0674)
OKLCHoklch(42.86% 0.16 335.1)
XYZxyz(12.3729, 6.7625, 16.2732)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F71 #1F802E
analogous
#5E1F80 #801F71 #801F40
triadic
#801F71 #71801F #1F7180
tetradic
#801F71 #805E1F #1F802E #1F4080
square
#801F71 #805E1F #1F802E #1F4080
split-complementary
#801F71 #40801F #1F805E
monochromatic
#1D071A #4F1346 #801F71 #B12B9C #D247BD

Accessibility & contrast

On white

8.93
#801F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#801F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F71
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F71#FFFFFF#000000##FFFFFF
##801F711.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#872746
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f71;
/* rgb */ color: rgb(128, 31, 113);
/* oklch */ color: oklch(42.9% 0.160 335.1);
Tailwind
colors: {
  custom: {
    50: '#a8659a',
    500: '#801f71',
    950: '#000000',
  },
}
SCSS
$custom: #801f71;
$custom-light: #a8659a;
$custom-dark: #000000;
JSON
{
  "hex": "#801f71",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 309.278,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.15991,
    "h": 335.1
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#801F71
secondary
#48B358
accent
#E45C44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F71

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

Preview Lab → · Contrast checker → · Palette generator →

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