#801D7C#801D7C

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

Color values

HEX#801D7C
RGBrgb(128, 29, 124)
HSLhsl(302, 63%, 31%)
HSVhsv(302, 77%, 50%)
CMYKcmyk(0%, 77.3%, 3.1%, 49.8%)
CIE-LABlab(31.63, 52.16, -31.02)
CIE-LCHlch(31.63, 60.69, 329.26°)
OKLaboklab(43.32% 0.1475 -0.0857)
OKLCHoklch(43.32% 0.171 329.8)
XYZxyz(12.9795, 6.9242, 19.7178)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7C #1D8021
analogous
#521D80 #801D7C #801D4A
triadic
#801D7C #7C801D #1D7C80
tetradic
#801D7C #80521D #1D8021 #1D4A80
square
#801D7C #80521D #1D8021 #1D4A80
split-complementary
#801D7C #4A801D #1D8052
monochromatic
#1C061B #4E124C #801D7C #B228AC #D443CF

Accessibility & contrast

On white

8.81
#801D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D7C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7C#FFFFFF#000000##FFFFFF
##801D7C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427F
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#852B4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801d7c;
/* rgb */ color: rgb(128, 29, 124);
/* oklch */ color: oklch(43.3% 0.171 329.8);
Tailwind
colors: {
  custom: {
    50: '#a865a2',
    500: '#801d7c',
    950: '#000000',
  },
}
SCSS
$custom: #801d7c;
$custom-light: #a865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7c",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 302.424,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.1706,
    "h": 329.8
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#801D7C
secondary
#45B34A
accent
#E64842
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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