#801870#801870

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

Color values

HEX#801870
RGBrgb(128, 24, 112)
HSLhsl(309, 68%, 30%)
HSVhsv(309, 81%, 50%)
CMYKcmyk(0%, 81.3%, 12.5%, 49.8%)
CIE-LABlab(30.43, 51.76, -25.32)
CIE-LCHlch(30.43, 57.62, 333.94°)
OKLaboklab(42.25% 0.1515 -0.0692)
OKLCHoklch(42.25% 0.167 335.5)
XYZxyz(12.1535, 6.4134, 15.9239)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801870 #188028
analogous
#5C1880 #801870 #80183C
triadic
#801870 #708018 #187080
tetradic
#801870 #805C18 #188028 #183C80
square
#801870 #805C18 #188028 #183C80
split-complementary
#801870 #3C8018 #18805C
monochromatic
#1A0517 #4C0E43 #801870 #B4229D #DA39C1

Accessibility & contrast

On white

9.20
#801870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#801870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801870
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801870#FFFFFF#000000##FFFFFF
##8018701.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#3F4D6E
Tritanopia (blue-blind)
#872143
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801870;
/* rgb */ color: rgb(128, 24, 112);
/* oklch */ color: oklch(42.2% 0.167 335.5);
Tailwind
colors: {
  custom: {
    50: '#a86399',
    500: '#801870',
    950: '#000000',
  },
}
SCSS
$custom: #801870;
$custom-light: #a86399;
$custom-dark: #000000;
JSON
{
  "hex": "#801870",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 309.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.16658,
    "h": 335.5
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#801870
secondary
#40B451
accent
#EB573D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801870

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

Preview Lab → · Contrast checker → · Palette generator →

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