#801770#801770

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

Color values

HEX#801770
RGBrgb(128, 23, 112)
HSLhsl(309, 70%, 30%)
HSVhsv(309, 82%, 50%)
CMYKcmyk(0%, 82%, 12.5%, 49.8%)
CIE-LABlab(30.33, 52.04, -25.47)
CIE-LCHlch(30.33, 57.94, 333.92°)
OKLaboklab(42.17% 0.1524 -0.0696)
OKLCHoklch(42.17% 0.168 335.4)
XYZxyz(12.1333, 6.3730, 15.9172)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801770 #178027
analogous
#5C1780 #801770 #80173C
triadic
#801770 #708017 #177080
tetradic
#801770 #805C17 #178027 #173C80
square
#801770 #805C17 #178027 #173C80
split-complementary
#801770 #3C8017 #17805C
monochromatic
#1A0517 #4C0E43 #801770 #B4209D #DB36C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801770#FFFFFF#000000##FFFFFF
##8017701.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)
#173E72
Deuteranopia (green-blind)
#3F4D6E
Tritanopia (blue-blind)
#872143
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801770;
/* rgb */ color: rgb(128, 23, 112);
/* oklch */ color: oklch(42.2% 0.168 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86299',
    500: '#801770',
    950: '#000000',
  },
}
SCSS
$custom: #801770;
$custom-light: #a86299;
$custom-dark: #000000;
JSON
{
  "hex": "#801770",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 309.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.16753,
    "h": 335.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#801770
secondary
#3EB450
accent
#EC563B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801770

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

Preview Lab → · Contrast checker → · Palette generator →

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