#801D7B#801D7B

#801D7B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.170 H 330.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#801D7B
RGBrgb(128, 29, 123)
HSLhsl(303, 63%, 31%)
HSVhsv(303, 77%, 50%)
CMYKcmyk(0%, 77.3%, 3.9%, 49.8%)
CIE-LABlab(31.58, 51.99, -30.49)
CIE-LCHlch(31.58, 60.27, 329.61°)
OKLaboklab(43.26% 0.1475 -0.0842)
OKLCHoklch(43.26% 0.17 330.3)
XYZxyz(12.9166, 6.8990, 19.3864)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7B #1D8022
analogous
#531D80 #801D7B #801D49
triadic
#801D7B #7B801D #1D7B80
tetradic
#801D7B #80531D #1D8022 #1D4980
square
#801D7B #80531D #1D8022 #1D4980
split-complementary
#801D7B #49801D #1D8053
monochromatic
#1C061B #4E124B #801D7B #B228AB #D443CD

Accessibility & contrast

On white

8.83
#801D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#801D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D7B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7B#FFFFFF#000000##FFFFFF
##801D7B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427E
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#852B4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801d7b;
/* rgb */ color: rgb(128, 29, 123);
/* oklch */ color: oklch(43.3% 0.170 330.3);
Tailwind
colors: {
  custom: {
    50: '#a865a1',
    500: '#801d7b',
    950: '#000000',
  },
}
SCSS
$custom: #801d7b;
$custom-light: #a865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7b",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 303.03,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.16982,
    "h": 330.3
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#801D7B
secondary
#45B34B
accent
#E64A42
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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