#801D7F#801D7F

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

Color values

HEX#801D7F
RGBrgb(128, 29, 127)
HSLhsl(301, 63%, 31%)
HSVhsv(301, 77%, 50%)
CMYKcmyk(0%, 77.3%, 0.8%, 49.8%)
CIE-LABlab(31.81, 52.67, -32.63)
CIE-LCHlch(31.81, 61.96, 328.22°)
OKLaboklab(43.5% 0.1475 -0.0904)
OKLCHoklch(43.5% 0.173 328.5)
XYZxyz(13.1721, 7.0012, 20.7322)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D7F #1D801E
analogous
#4F1D80 #801D7F #801D4D
triadic
#801D7F #7F801D #1D7F80
tetradic
#801D7F #804F1D #1D801E #1D4D80
square
#801D7F #804F1D #1D801E #1D4D80
split-complementary
#801D7F #4D801D #1D804F
monochromatic
#1C061C #4E124D #801D7F #B228B1 #D443D3

Accessibility & contrast

On white

8.75
#801D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#801D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D7F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D7F#FFFFFF#000000##FFFFFF
##801D7F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#842D4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801d7f;
/* rgb */ color: rgb(128, 29, 127);
/* oklch */ color: oklch(43.5% 0.173 328.5);
Tailwind
colors: {
  custom: {
    50: '#a865a4',
    500: '#801d7f',
    950: '#000000',
  },
}
SCSS
$custom: #801d7f;
$custom-light: #a865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801d7f",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 300.606,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.17298,
    "h": 328.5
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#801D7F
secondary
#45B347
accent
#E64342
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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