#801C7A#801C7A

#801C7A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.170 H 330.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#801C7A
RGBrgb(128, 28, 122)
HSLhsl(304, 64%, 31%)
HSVhsv(304, 78%, 50%)
CMYKcmyk(0%, 78.1%, 4.7%, 49.8%)
CIE-LABlab(31.41, 52.15, -30.12)
CIE-LCHlch(31.41, 60.22, 329.99°)
OKLaboklab(43.12% 0.1484 -0.0831)
OKLCHoklch(43.12% 0.17 330.7)
XYZxyz(12.8302, 6.8259, 19.0504)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C7A #1C8022
analogous
#541C80 #801C7A #801C48
triadic
#801C7A #7A801C #1C7A80
tetradic
#801C7A #80541C #1C8022 #1C4880
square
#801C7A #80541C #1C8022 #1C4880
split-complementary
#801C7A #48801C #1C8054
monochromatic
#1C061A #4E114A #801C7A #B227AA #D541CD

Accessibility & contrast

On white

8.88
#801C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#801C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C7A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C7A#FFFFFF#000000##FFFFFF
##801C7A1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417D
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#85294A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801c7a;
/* rgb */ color: rgb(128, 28, 122);
/* oklch */ color: oklch(43.1% 0.170 330.7);
Tailwind
colors: {
  custom: {
    50: '#a865a1',
    500: '#801c7a',
    950: '#000000',
  },
}
SCSS
$custom: #801c7a;
$custom-light: #a865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801c7a",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 303.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.17008,
    "h": 330.7
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#801C7A
secondary
#44B34B
accent
#E74B41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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