#801F70#801F70

#801F70 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.159 H 335.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#801F70
RGBrgb(128, 31, 112)
HSLhsl(310, 61%, 31%)
HSVhsv(310, 76%, 50%)
CMYKcmyk(0%, 75.8%, 12.5%, 49.8%)
CIE-LABlab(31.21, 49.54, -24.10)
CIE-LCHlch(31.21, 55.09, 334.06°)
OKLaboklab(42.8% 0.1449 -0.0658)
OKLCHoklch(42.8% 0.159 335.6)
XYZxyz(12.3169, 6.7401, 15.9784)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F70 #1F802F
analogous
#5F1F80 #801F70 #801F3F
triadic
#801F70 #70801F #1F7080
tetradic
#801F70 #805F1F #1F802F #1F3F80
square
#801F70 #805F1F #1F802F #1F3F80
split-complementary
#801F70 #3F801F #1F805F
monochromatic
#1D071A #4F1345 #801F70 #B12B9B #D247BB

Accessibility & contrast

On white

8.94
#801F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#801F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F70
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F70#FFFFFF#000000##FFFFFF
##801F701.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204072
Deuteranopia (green-blind)
#424F6E
Tritanopia (blue-blind)
#872645
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801f70;
/* rgb */ color: rgb(128, 31, 112);
/* oklch */ color: oklch(42.8% 0.159 335.6);
Tailwind
colors: {
  custom: {
    50: '#a86599',
    500: '#801f70',
    950: '#000000',
  },
}
SCSS
$custom: #801f70;
$custom-light: #a86599;
$custom-dark: #000000;
JSON
{
  "hex": "#801f70",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 309.897,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.15916,
    "h": 335.6
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#801F70
secondary
#48B35A
accent
#E45E44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F70

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

Preview Lab → · Contrast checker → · Palette generator →

#801F70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva