#801F79#801F79

#801F79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 331.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#801F79
RGBrgb(128, 31, 121)
HSLhsl(304, 61%, 31%)
HSVhsv(304, 76%, 50%)
CMYKcmyk(0%, 75.8%, 5.5%, 49.8%)
CIE-LABlab(31.69, 51.00, -29.04)
CIE-LCHlch(31.69, 58.69, 330.34°)
OKLaboklab(43.31% 0.1455 -0.08)
OKLCHoklch(43.31% 0.166 331.2)
XYZxyz(12.8433, 6.9507, 18.7506)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F79 #1F8026
analogous
#561F80 #801F79 #801F48
triadic
#801F79 #79801F #1F7980
tetradic
#801F79 #80561F #1F8026 #1F4880
square
#801F79 #80561F #1F8026 #1F4880
split-complementary
#801F79 #48801F #1F8056
monochromatic
#1D071C #4F134A #801F79 #B12BA8 #D247C8

Accessibility & contrast

On white

8.79
#801F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#801F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F79
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F79#FFFFFF#000000##FFFFFF
##801F791.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#852B4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801f79;
/* rgb */ color: rgb(128, 31, 121);
/* oklch */ color: oklch(43.3% 0.166 331.2);
Tailwind
colors: {
  custom: {
    50: '#a866a0',
    500: '#801f79',
    950: '#000000',
  },
}
SCSS
$custom: #801f79;
$custom-light: #a866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#801f79",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 304.33,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.16607,
    "h": 331.2
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#801F79
secondary
#48B350
accent
#E44F44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F79

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

Preview Lab → · Contrast checker → · Palette generator →

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