#801F7D#801F7D

#801F7D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.169 H 329.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#801F7D
RGBrgb(128, 31, 125)
HSLhsl(302, 61%, 31%)
HSVhsv(302, 76%, 50%)
CMYKcmyk(0%, 75.8%, 2.3%, 49.8%)
CIE-LABlab(31.92, 51.67, -31.20)
CIE-LCHlch(31.92, 60.36, 328.88°)
OKLaboklab(43.55% 0.1456 -0.0862)
OKLCHoklch(43.55% 0.169 329.4)
XYZxyz(13.0936, 7.0508, 20.0694)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F7D #1F8022
analogous
#521F80 #801F7D #801F4C
triadic
#801F7D #7D801F #1F7D80
tetradic
#801F7D #80521F #1F8022 #1F4C80
square
#801F7D #80521F #1F8022 #1F4C80
split-complementary
#801F7D #4C801F #1F8052
monochromatic
#1D071D #4F134D #801F7D #B12BAD #D247CE

Accessibility & contrast

On white

8.71
#801F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#801F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F7D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F7D#FFFFFF#000000##FFFFFF
##801F7D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#3B507B
Tritanopia (blue-blind)
#852D4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801f7d;
/* rgb */ color: rgb(128, 31, 125);
/* oklch */ color: oklch(43.5% 0.169 329.4);
Tailwind
colors: {
  custom: {
    50: '#a866a3',
    500: '#801f7d',
    950: '#000000',
  },
}
SCSS
$custom: #801f7d;
$custom-light: #a866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#801f7d",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 301.856,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.16924,
    "h": 329.4
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#801F7D
secondary
#48B34B
accent
#E44944
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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