#801F8A#801F8A

#801F8A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.180 H 323.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#801F8A
RGBrgb(128, 31, 138)
HSLhsl(294, 63%, 33%)
HSVhsv(294, 78%, 54%)
CMYKcmyk(7.2%, 77.5%, 0%, 45.9%)
CIE-LABlab(32.71, 53.96, -38.04)
CIE-LCHlch(32.71, 66.03, 324.82°)
OKLaboklab(44.36% 0.1452 -0.1062)
OKLCHoklch(44.36% 0.18 323.8)
XYZxyz(13.9791, 7.4050, 24.7328)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8A #298A1F
analogous
#4B1F8A #801F8A #8A1F5E
triadic
#801F8A #8A801F #1F8A80
tetradic
#801F8A #8A4B1F #298A1F #1F5E8A
square
#801F8A #8A4B1F #298A1F #1F5E8A
split-complementary
#801F8A #5E8A1F #1F8A4B
monochromatic
#230926 #521458 #801F8A #AE2ABC #CA4CD7

Accessibility & contrast

On white

8.47
#801F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#801F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F8A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F8A#FFFFFF#000000##FFFFFF
##801F8A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#823354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801f8a;
/* rgb */ color: rgb(128, 31, 138);
/* oklch */ color: oklch(44.4% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#a866ad',
    500: '#801f8a',
    950: '#000000',
  },
}
SCSS
$custom: #801f8a;
$custom-light: #a866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8a",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 294.393,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.17989,
    "h": 323.8
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#801F8A
secondary
#55BA4B
accent
#E64151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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