#801D7D#801D7D

#801D7D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.171 H 329.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#801D7D
RGBrgb(128, 29, 125)
HSLhsl(302, 63%, 31%)
HSVhsv(302, 77%, 50%)
CMYKcmyk(0%, 77.3%, 2.3%, 49.8%)
CIE-LABlab(31.69, 52.33, -31.56)
CIE-LCHlch(31.69, 61.11, 328.91°)
OKLaboklab(43.38% 0.1475 -0.0873)
OKLCHoklch(43.38% 0.171 329.4)
XYZxyz(13.0430, 6.9496, 20.0525)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7D #1D8020
analogous
#511D80 #801D7D #801D4B
triadic
#801D7D #7D801D #1D7D80
tetradic
#801D7D #80511D #1D8020 #1D4B80
square
#801D7D #80511D #1D8020 #1D4B80
split-complementary
#801D7D #4B801D #1D8051
monochromatic
#1C061C #4E124C #801D7D #B228AE #D443D0

Accessibility & contrast

On white

8.79
#801D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#801D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D7D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7D#FFFFFF#000000##FFFFFF
##801D7D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#3B4F7B
Tritanopia (blue-blind)
#852C4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801d7d;
/* rgb */ color: rgb(128, 29, 125);
/* oklch */ color: oklch(43.4% 0.171 329.4);
Tailwind
colors: {
  custom: {
    50: '#a865a3',
    500: '#801d7d',
    950: '#000000',
  },
}
SCSS
$custom: #801d7d;
$custom-light: #a865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7d",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 301.818,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.17139,
    "h": 329.4
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#801D7D
secondary
#45B349
accent
#E64742
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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