#801C7F#801C7F

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

Color values

HEX#801C7F
RGBrgb(128, 28, 127)
HSLhsl(301, 64%, 31%)
HSVhsv(301, 78%, 50%)
CMYKcmyk(0%, 78.1%, 0.8%, 49.8%)
CIE-LABlab(31.70, 52.99, -32.80)
CIE-LCHlch(31.70, 62.32, 328.24°)
OKLaboklab(43.43% 0.1484 -0.0909)
OKLCHoklch(43.43% 0.174 328.5)
XYZxyz(13.1480, 6.9530, 20.7241)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C7F #1C801D
analogous
#4F1C80 #801C7F #801C4D
triadic
#801C7F #7F801C #1C7F80
tetradic
#801C7F #804F1C #1C801D #1C4D80
square
#801C7F #804F1C #1C801D #1C4D80
split-complementary
#801C7F #4D801C #1C804F
monochromatic
#1C061B #4E114D #801C7F #B227B1 #D541D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801C7F#FFFFFF#000000##FFFFFF
##801C7F1.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)
#054282
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#842C4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801c7f;
/* rgb */ color: rgb(128, 28, 127);
/* oklch */ color: oklch(43.4% 0.174 328.5);
Tailwind
colors: {
  custom: {
    50: '#a865a4',
    500: '#801c7f',
    950: '#000000',
  },
}
SCSS
$custom: #801c7f;
$custom-light: #a865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801c7f",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 300.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.17401,
    "h": 328.5
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#801C7F
secondary
#44B345
accent
#E74241
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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