#801D7A#801D7A

#801D7A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.169 H 330.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#801D7A
RGBrgb(128, 29, 122)
HSLhsl(304, 63%, 31%)
HSVhsv(304, 77%, 50%)
CMYKcmyk(0%, 77.3%, 4.7%, 49.8%)
CIE-LABlab(31.52, 51.83, -29.95)
CIE-LCHlch(31.52, 59.86, 329.98°)
OKLaboklab(43.2% 0.1475 -0.0826)
OKLCHoklch(43.2% 0.169 330.7)
XYZxyz(12.8543, 6.8741, 19.0584)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7A #1D8023
analogous
#541D80 #801D7A #801D48
triadic
#801D7A #7A801D #1D7A80
tetradic
#801D7A #80541D #1D8023 #1D4880
square
#801D7A #80541D #1D8023 #1D4880
split-complementary
#801D7A #48801D #1D8054
monochromatic
#1C061B #4E124A #801D7A #B228AA #D443CC

Accessibility & contrast

On white

8.84
#801D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D7A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7A#FFFFFF#000000##FFFFFF
##801D7A1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#852A4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801d7a;
/* rgb */ color: rgb(128, 29, 122);
/* oklch */ color: oklch(43.2% 0.169 330.7);
Tailwind
colors: {
  custom: {
    50: '#a865a1',
    500: '#801d7a',
    950: '#000000',
  },
}
SCSS
$custom: #801d7a;
$custom-light: #a865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7a",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 303.636,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.16903,
    "h": 330.7
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#801D7A
secondary
#45B34C
accent
#E64C42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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