#801C7C#801C7C

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

Color values

HEX#801C7C
RGBrgb(128, 28, 124)
HSLhsl(302, 64%, 31%)
HSVhsv(302, 78%, 50%)
CMYKcmyk(0%, 78.1%, 3.1%, 49.8%)
CIE-LABlab(31.52, 52.48, -31.20)
CIE-LCHlch(31.52, 61.05, 329.27°)
OKLaboklab(43.24% 0.1484 -0.0862)
OKLCHoklch(43.24% 0.172 329.8)
XYZxyz(12.9554, 6.8760, 19.7097)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C7C #1C8020
analogous
#521C80 #801C7C #801C4A
triadic
#801C7C #7C801C #1C7C80
tetradic
#801C7C #80521C #1C8020 #1C4A80
square
#801C7C #80521C #1C8020 #1C4A80
split-complementary
#801C7C #4A801C #1C8052
monochromatic
#1C061B #4E114B #801C7C #B227AD #D541CF

Accessibility & contrast

On white

8.84
#801C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801C7C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C7C#FFFFFF#000000##FFFFFF
##801C7C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801c7c;
/* rgb */ color: rgb(128, 28, 124);
/* oklch */ color: oklch(43.2% 0.172 329.8);
Tailwind
colors: {
  custom: {
    50: '#a865a2',
    500: '#801c7c',
    950: '#000000',
  },
}
SCSS
$custom: #801c7c;
$custom-light: #a865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#801c7c",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 302.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.17164,
    "h": 329.8
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#801C7C
secondary
#44B349
accent
#E74741
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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