#801579#801579

#801579 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.176 H 331.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#801579
RGBrgb(128, 21, 121)
HSLhsl(304, 72%, 29%)
HSVhsv(304, 84%, 50%)
CMYKcmyk(0%, 83.6%, 5.5%, 49.8%)
CIE-LABlab(30.66, 53.98, -30.68)
CIE-LCHlch(30.66, 62.09, 330.39°)
OKLaboklab(42.57% 0.1542 -0.0847)
OKLCHoklch(42.57% 0.176 331.2)
XYZxyz(12.6214, 6.5071, 18.6767)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801579 #15801C
analogous
#521580 #801579 #801544
triadic
#801579 #798015 #157980
tetradic
#801579 #805215 #15801C #154480
square
#801579 #805215 #15801C #154480
split-complementary
#801579 #448015 #158052
monochromatic
#1A0419 #4B0C47 #801579 #B51EAB #DD32D2

Accessibility & contrast

On white

9.13
#801579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#801579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801579
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801579#FFFFFF#000000##FFFFFF
##8015791.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#852548
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801579;
/* rgb */ color: rgb(128, 21, 121);
/* oklch */ color: oklch(42.6% 0.176 331.2);
Tailwind
colors: {
  custom: {
    50: '#a862a0',
    500: '#801579',
    950: '#000000',
  },
}
SCSS
$custom: #801579;
$custom-light: #a862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#801579",
  "rgb": {
    "r": 128,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 303.925,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.17589,
    "h": 331.2
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#801579
secondary
#3CB544
accent
#EF4539
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801579

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

Preview Lab → · Contrast checker → · Palette generator →

#801579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva