#801C7D#801C7D

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

Color values

HEX#801C7D
RGBrgb(128, 28, 125)
HSLhsl(302, 64%, 31%)
HSVhsv(302, 78%, 50%)
CMYKcmyk(0%, 78.1%, 2.3%, 49.8%)
CIE-LABlab(31.58, 52.65, -31.74)
CIE-LCHlch(31.58, 61.47, 328.92°)
OKLaboklab(43.3% 0.1484 -0.0878)
OKLCHoklch(43.3% 0.172 329.4)
XYZxyz(13.0189, 6.9014, 20.0445)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C7D #1C801F
analogous
#511C80 #801C7D #801C4B
triadic
#801C7D #7D801C #1C7D80
tetradic
#801C7D #80511C #1C801F #1C4B80
square
#801C7D #80511C #1C801F #1C4B80
split-complementary
#801C7D #4B801C #1C8051
monochromatic
#1C061B #4E114C #801C7D #B227AE #D541D1

Accessibility & contrast

On white

8.82
#801C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801C7D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C7D#FFFFFF#000000##FFFFFF
##801C7D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#852B4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801c7d;
/* rgb */ color: rgb(128, 28, 125);
/* oklch */ color: oklch(43.3% 0.172 329.4);
Tailwind
colors: {
  custom: {
    50: '#a865a3',
    500: '#801c7d',
    950: '#000000',
  },
}
SCSS
$custom: #801c7d;
$custom-light: #a865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#801c7d",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 301.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.17243,
    "h": 329.4
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#801C7D
secondary
#44B348
accent
#E74641
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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