#801D7E#801D7E

#801D7E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.172 H 328.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#801D7E
RGBrgb(128, 29, 126)
HSLhsl(301, 63%, 31%)
HSVhsv(301, 77%, 50%)
CMYKcmyk(0%, 77.3%, 1.6%, 49.8%)
CIE-LABlab(31.75, 52.50, -32.10)
CIE-LCHlch(31.75, 61.53, 328.56°)
OKLaboklab(43.44% 0.1475 -0.0888)
OKLCHoklch(43.44% 0.172 328.9)
XYZxyz(13.1072, 6.9753, 20.3906)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7E #1D801F
analogous
#501D80 #801D7E #801D4C
triadic
#801D7E #7E801D #1D7E80
tetradic
#801D7E #80501D #1D801F #1D4C80
square
#801D7E #80501D #1D801F #1D4C80
split-complementary
#801D7E #4C801D #1D8050
monochromatic
#1C061C #4E124D #801D7E #B228AF #D443D1

Accessibility & contrast

On white

8.77
#801D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D7E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7E#FFFFFF#000000##FFFFFF
##801D7E1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801d7e;
/* rgb */ color: rgb(128, 29, 126);
/* oklch */ color: oklch(43.4% 0.172 328.9);
Tailwind
colors: {
  custom: {
    50: '#a865a4',
    500: '#801d7e',
    950: '#000000',
  },
}
SCSS
$custom: #801d7e;
$custom-light: #a865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7e",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 301.212,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.17219,
    "h": 328.9
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#801D7E
secondary
#45B348
accent
#E64542
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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