#801179#801179

#801179 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.179 H 331.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#801179
RGBrgb(128, 17, 121)
HSLhsl(304, 77%, 28%)
HSVhsv(304, 87%, 50%)
CMYKcmyk(0%, 86.7%, 5.5%, 49.8%)
CIE-LABlab(30.33, 54.93, -31.20)
CIE-LCHlch(30.33, 63.17, 330.40°)
OKLaboklab(42.34% 0.1569 -0.0861)
OKLCHoklch(42.34% 0.179 331.2)
XYZxyz(12.5537, 6.3716, 18.6541)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801179 #118018
analogous
#4F1180 #801179 #801141
triadic
#801179 #798011 #117980
tetradic
#801179 #804F11 #118018 #114180
square
#801179 #804F11 #118018 #114180
split-complementary
#801179 #418011 #11804F
monochromatic
#1B041A #4A0A46 #801179 #B618AC #E329D7

Accessibility & contrast

On white

9.23
#801179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#801179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801179
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801179#FFFFFF#000000##FFFFFF
##8011791.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#852347
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801179;
/* rgb */ color: rgb(128, 17, 121);
/* oklch */ color: oklch(42.3% 0.179 331.2);
Tailwind
colors: {
  custom: {
    50: '#a961a0',
    500: '#801179',
    950: '#000000',
  },
}
SCSS
$custom: #801179;
$custom-light: #a961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#801179",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 121
  },
  "hsl": {
    "h": 303.784,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42337,
    "c": 0.179,
    "h": 331.2
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#801179
secondary
#37B63F
accent
#F34135
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801179

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

Preview Lab → · Contrast checker → · Palette generator →

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