#801176#801176

#801176 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.177 H 332.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#801176
RGBrgb(128, 17, 118)
HSLhsl(305, 77%, 28%)
HSVhsv(305, 87%, 50%)
CMYKcmyk(0%, 86.7%, 7.8%, 49.8%)
CIE-LABlab(30.16, 54.46, -29.58)
CIE-LCHlch(30.16, 61.97, 331.49°)
OKLaboklab(42.16% 0.1569 -0.0814)
OKLCHoklch(42.16% 0.177 332.6)
XYZxyz(12.3726, 6.2992, 17.7003)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801176 #11801B
analogous
#521180 #801176 #80113E
triadic
#801176 #768011 #117680
tetradic
#801176 #805211 #11801B #113E80
square
#801176 #805211 #11801B #113E80
split-complementary
#801176 #3E8011 #118052
monochromatic
#1B0419 #4A0A44 #801176 #B618A8 #E329D2

Accessibility & contrast

On white

9.29
#801176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#801176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801176
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801176#FFFFFF#000000##FFFFFF
##8011761.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#862145
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801176;
/* rgb */ color: rgb(128, 17, 118);
/* oklch */ color: oklch(42.2% 0.177 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9619e',
    500: '#801176',
    950: '#000000',
  },
}
SCSS
$custom: #801176;
$custom-light: #a9619e;
$custom-dark: #000000;
JSON
{
  "hex": "#801176",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 305.405,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.17682,
    "h": 332.6
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#801176
secondary
#37B642
accent
#F34635
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801176

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

Preview Lab → · Contrast checker → · Palette generator →

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