#801F74#801F74

#801F74 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.162 H 333.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#801F74
RGBrgb(128, 31, 116)
HSLhsl(307, 61%, 31%)
HSVhsv(307, 76%, 50%)
CMYKcmyk(0%, 75.8%, 9.4%, 49.8%)
CIE-LABlab(31.42, 50.18, -26.31)
CIE-LCHlch(31.42, 56.66, 332.33°)
OKLaboklab(43.02% 0.1453 -0.0721)
OKLCHoklch(43.02% 0.162 333.6)
XYZxyz(12.5446, 6.8312, 17.1775)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F74 #1F802B
analogous
#5B1F80 #801F74 #801F43
triadic
#801F74 #74801F #1F7480
tetradic
#801F74 #805B1F #1F802B #1F4380
square
#801F74 #805B1F #1F802B #1F4380
split-complementary
#801F74 #43801F #1F805B
monochromatic
#1D071B #4F1347 #801F74 #B12BA1 #D247C1

Accessibility & contrast

On white

8.88
#801F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#801F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F74
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F74#FFFFFF#000000##FFFFFF
##801F741.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#862847
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801f74;
/* rgb */ color: rgb(128, 31, 116);
/* oklch */ color: oklch(43.0% 0.162 333.6);
Tailwind
colors: {
  custom: {
    50: '#a8659c',
    500: '#801f74',
    950: '#000000',
  },
}
SCSS
$custom: #801f74;
$custom-light: #a8659c;
$custom-dark: #000000;
JSON
{
  "hex": "#801f74",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 307.423,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.16219,
    "h": 333.6
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#801F74
secondary
#48B355
accent
#E45844
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801F74

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

Preview Lab → · Contrast checker → · Palette generator →

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