#801170#801170

#801170 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.173 H 335.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#801170
RGBrgb(128, 17, 112)
HSLhsl(309, 77%, 28%)
HSVhsv(309, 87%, 50%)
CMYKcmyk(0%, 86.7%, 12.5%, 49.8%)
CIE-LABlab(29.82, 53.54, -26.29)
CIE-LCHlch(29.82, 59.65, 333.85°)
OKLaboklab(41.8% 0.1568 -0.072)
OKLCHoklch(41.8% 0.173 335.4)
XYZxyz(12.0274, 6.1611, 15.8819)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801170 #118021
analogous
#581180 #801170 #801138
triadic
#801170 #708011 #117080
tetradic
#801170 #805811 #118021 #113880
square
#801170 #805811 #118021 #113880
split-complementary
#801170 #388011 #118058
monochromatic
#1B0418 #4A0A41 #801170 #B6189F #E329C8

Accessibility & contrast

On white

9.41
#801170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#801170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801170
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801170#FFFFFF#000000##FFFFFF
##8011701.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#3D4C6E
Tritanopia (blue-blind)
#871D42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #801170;
/* rgb */ color: rgb(128, 17, 112);
/* oklch */ color: oklch(41.8% 0.173 335.4);
Tailwind
colors: {
  custom: {
    50: '#a96099',
    500: '#801170',
    950: '#000000',
  },
}
SCSS
$custom: #801170;
$custom-light: #a96099;
$custom-dark: #000000;
JSON
{
  "hex": "#801170",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 112
  },
  "hsl": {
    "h": 308.649,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.17255,
    "h": 335.4
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#801170
secondary
#37B649
accent
#F35035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801170

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

Preview Lab → · Contrast checker → · Palette generator →

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