#801177#801177

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

Color values

HEX#801177
RGBrgb(128, 17, 119)
HSLhsl(305, 77%, 28%)
HSVhsv(305, 87%, 50%)
CMYKcmyk(0%, 86.7%, 7%, 49.8%)
CIE-LABlab(30.21, 54.61, -30.12)
CIE-LCHlch(30.21, 62.37, 331.12°)
OKLaboklab(42.22% 0.1569 -0.083)
OKLCHoklch(42.22% 0.178 332.1)
XYZxyz(12.4324, 6.3231, 18.0149)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801177 #11801A
analogous
#511180 #801177 #80113F
triadic
#801177 #778011 #117780
tetradic
#801177 #805111 #11801A #113F80
square
#801177 #805111 #11801A #113F80
split-complementary
#801177 #3F8011 #118051
monochromatic
#1B0419 #4A0A45 #801177 #B618A9 #E329D3

Accessibility & contrast

On white

9.27
#801177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801177
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801177#FFFFFF#000000##FFFFFF
##8011771.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7A
Deuteranopia (green-blind)
#3A4C75
Tritanopia (blue-blind)
#862146
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801177;
/* rgb */ color: rgb(128, 17, 119);
/* oklch */ color: oklch(42.2% 0.178 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9619e',
    500: '#801177',
    950: '#000000',
  },
}
SCSS
$custom: #801177;
$custom-light: #a9619e;
$custom-dark: #000000;
JSON
{
  "hex": "#801177",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 119
  },
  "hsl": {
    "h": 304.865,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.17755,
    "h": 332.1
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#801177
secondary
#37B641
accent
#F34435
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801177

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

Preview Lab → · Contrast checker → · Palette generator →

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