#801F7E#801F7E

#801F7E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.170 H 328.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#801F7E
RGBrgb(128, 31, 126)
HSLhsl(301, 61%, 31%)
HSVhsv(301, 76%, 50%)
CMYKcmyk(0%, 75.8%, 1.6%, 49.8%)
CIE-LABlab(31.98, 51.84, -31.73)
CIE-LCHlch(31.98, 60.78, 328.53°)
OKLaboklab(43.61% 0.1456 -0.0878)
OKLCHoklch(43.61% 0.17 328.9)
XYZxyz(13.1578, 7.0765, 20.4075)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F7E #1F8021
analogous
#511F80 #801F7E #801F4D
triadic
#801F7E #7E801F #1F7E80
tetradic
#801F7E #80511F #1F8021 #1F4D80
square
#801F7E #80511F #1F8021 #1F4D80
split-complementary
#801F7E #4D801F #1F8051
monochromatic
#1D071D #4F134D #801F7E #B12BAE #D247D0

Accessibility & contrast

On white

8.69
#801F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#801F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F7E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F7E#FFFFFF#000000##FFFFFF
##801F7E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#852D4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801f7e;
/* rgb */ color: rgb(128, 31, 126);
/* oklch */ color: oklch(43.6% 0.170 328.9);
Tailwind
colors: {
  custom: {
    50: '#a866a4',
    500: '#801f7e',
    950: '#000000',
  },
}
SCSS
$custom: #801f7e;
$custom-light: #a866a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801f7e",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 301.237,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.17004,
    "h": 328.9
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#801F7E
secondary
#48B34A
accent
#E44744
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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