#801E7A#801E7A

#801E7A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.168 H 330.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#801E7A
RGBrgb(128, 30, 122)
HSLhsl(304, 62%, 31%)
HSVhsv(304, 77%, 50%)
CMYKcmyk(0%, 76.6%, 4.7%, 49.8%)
CIE-LABlab(31.63, 51.50, -29.77)
CIE-LCHlch(31.63, 59.48, 329.97°)
OKLaboklab(43.28% 0.1465 -0.0821)
OKLCHoklch(43.28% 0.168 330.7)
XYZxyz(12.8792, 6.9239, 19.0667)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801E7A #1E8024
analogous
#551E80 #801E7A #801E49
triadic
#801E7A #7A801E #1E7A80
tetradic
#801E7A #80551E #1E8024 #1E4980
square
#801E7A #80551E #1E8024 #1E4980
split-complementary
#801E7A #49801E #1E8055
monochromatic
#1D071B #4E124B #801E7A #B22AA9 #D345CB

Accessibility & contrast

On white

8.81
#801E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#801E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801E7A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801E7A#FFFFFF#000000##FFFFFF
##801E7A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#852B4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801e7a;
/* rgb */ color: rgb(128, 30, 122);
/* oklch */ color: oklch(43.3% 0.168 330.7);
Tailwind
colors: {
  custom: {
    50: '#a865a1',
    500: '#801e7a',
    950: '#000000',
  },
}
SCSS
$custom: #801e7a;
$custom-light: #a865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801e7a",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 303.673,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43284,
    "c": 0.16796,
    "h": 330.7
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#801E7A
secondary
#47B34D
accent
#E54D43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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