#801A7D#801A7D

#801A7D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.174 H 329.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#801A7D
RGBrgb(128, 26, 125)
HSLhsl(302, 66%, 30%)
HSVhsv(302, 80%, 50%)
CMYKcmyk(0%, 79.7%, 2.3%, 49.8%)
CIE-LABlab(31.37, 53.26, -32.07)
CIE-LCHlch(31.37, 62.17, 328.94°)
OKLaboklab(43.15% 0.1502 -0.0887)
OKLCHoklch(43.15% 0.174 329.4)
XYZxyz(12.9731, 6.8097, 20.0292)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A7D #1A801D
analogous
#501A80 #801A7D #801A4A
triadic
#801A7D #7D801A #1A7D80
tetradic
#801A7D #80501A #1A801D #1A4A80
square
#801A7D #80501A #1A801D #1A4A80
split-complementary
#801A7D #4A801A #1A8050
monochromatic
#1A051A #4D104B #801A7D #B324AF #D83DD3

Accessibility & contrast

On white

8.89
#801A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#801A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A7D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A7D#FFFFFF#000000##FFFFFF
##801A7D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064180
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#852A4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801a7d;
/* rgb */ color: rgb(128, 26, 125);
/* oklch */ color: oklch(43.2% 0.174 329.4);
Tailwind
colors: {
  custom: {
    50: '#a864a3',
    500: '#801a7d',
    950: '#000000',
  },
}
SCSS
$custom: #801a7d;
$custom-light: #a864a3;
$custom-dark: #000000;
JSON
{
  "hex": "#801a7d",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 301.765,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.17442,
    "h": 329.4
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#801A7D
secondary
#42B445
accent
#E9443F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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