#801F78#801F78

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

Color values

HEX#801F78
RGBrgb(128, 31, 120)
HSLhsl(305, 61%, 31%)
HSVhsv(305, 76%, 50%)
CMYKcmyk(0%, 75.8%, 6.3%, 49.8%)
CIE-LABlab(31.64, 50.83, -28.50)
CIE-LCHlch(31.64, 58.27, 330.72°)
OKLaboklab(43.25% 0.1455 -0.0784)
OKLCHoklch(43.25% 0.165 331.7)
XYZxyz(12.7822, 6.9263, 18.4293)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F78 #1F8027
analogous
#571F80 #801F78 #801F47
triadic
#801F78 #78801F #1F7880
tetradic
#801F78 #80571F #1F8027 #1F4780
square
#801F78 #80571F #1F8027 #1F4780
split-complementary
#801F78 #47801F #1F8057
monochromatic
#1D071C #4F134A #801F78 #B12BA6 #D247C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801F78#FFFFFF#000000##FFFFFF
##801F781.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#852A4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f78;
/* rgb */ color: rgb(128, 31, 120);
/* oklch */ color: oklch(43.3% 0.165 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8669f',
    500: '#801f78',
    950: '#000000',
  },
}
SCSS
$custom: #801f78;
$custom-light: #a8669f;
$custom-dark: #000000;
JSON
{
  "hex": "#801f78",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 304.948,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.16528,
    "h": 331.7
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#801F78
secondary
#48B351
accent
#E45144
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F78

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

Preview Lab → · Contrast checker → · Palette generator →

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