#801C71#801C71

#801C71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.163 H 335.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#801C71
RGBrgb(128, 28, 113)
HSLhsl(309, 64%, 31%)
HSVhsv(309, 78%, 50%)
CMYKcmyk(0%, 78.1%, 11.7%, 49.8%)
CIE-LABlab(30.91, 50.70, -25.20)
CIE-LCHlch(30.91, 56.62, 333.57°)
OKLaboklab(42.6% 0.148 -0.0689)
OKLCHoklch(42.6% 0.163 335)
XYZxyz(12.2981, 6.6131, 16.2483)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C71 #1C802B
analogous
#5D1C80 #801C71 #801C3F
triadic
#801C71 #71801C #1C7180
tetradic
#801C71 #805D1C #1C802B #1C3F80
square
#801C71 #805D1C #1C802B #1C3F80
split-complementary
#801C71 #3F801C #1C805D
monochromatic
#1C0618 #4E1145 #801C71 #B2279D #D541BF

Accessibility & contrast

On white

9.04
#801C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#801C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C71
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C71#FFFFFF#000000##FFFFFF
##801C711.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801c71;
/* rgb */ color: rgb(128, 28, 113);
/* oklch */ color: oklch(42.6% 0.163 335.0);
Tailwind
colors: {
  custom: {
    50: '#a8649a',
    500: '#801c71',
    950: '#000000',
  },
}
SCSS
$custom: #801c71;
$custom-light: #a8649a;
$custom-dark: #000000;
JSON
{
  "hex": "#801c71",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 309,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.16325,
    "h": 335
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#801C71
secondary
#44B355
accent
#E75A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801C71

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

Preview Lab → · Contrast checker → · Palette generator →

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