#801C7E#801C7E

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

Color values

HEX#801C7E
RGBrgb(128, 28, 126)
HSLhsl(301, 64%, 31%)
HSVhsv(301, 78%, 50%)
CMYKcmyk(0%, 78.1%, 1.6%, 49.8%)
CIE-LABlab(31.64, 52.82, -32.27)
CIE-LCHlch(31.64, 61.90, 328.57°)
OKLaboklab(43.36% 0.1484 -0.0893)
OKLCHoklch(43.36% 0.173 329)
XYZxyz(13.0831, 6.9271, 20.3826)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C7E #1C801E
analogous
#501C80 #801C7E #801C4C
triadic
#801C7E #7E801C #1C7E80
tetradic
#801C7E #80501C #1C801E #1C4C80
square
#801C7E #80501C #1C801E #1C4C80
split-complementary
#801C7E #4C801C #1C8050
monochromatic
#1C061B #4E114D #801C7E #B227AF #D541D2

Accessibility & contrast

On white

8.80
#801C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801C7E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C7E#FFFFFF#000000##FFFFFF
##801C7E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#852C4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801c7e;
/* rgb */ color: rgb(128, 28, 126);
/* oklch */ color: oklch(43.4% 0.173 329.0);
Tailwind
colors: {
  custom: {
    50: '#a865a4',
    500: '#801c7e',
    950: '#000000',
  },
}
SCSS
$custom: #801c7e;
$custom-light: #a865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801c7e",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 301.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.17322,
    "h": 329
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#801C7E
secondary
#44B347
accent
#E74441
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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