#801F8F#801F8F

#801F8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.184 H 321.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#801F8F
RGBrgb(128, 31, 143)
HSLhsl(292, 64%, 34%)
HSVhsv(292, 78%, 56%)
CMYKcmyk(10.5%, 78.3%, 0%, 43.9%)
CIE-LABlab(33.03, 54.88, -40.62)
CIE-LCHlch(33.03, 68.28, 323.50°)
OKLaboklab(44.7% 0.1448 -0.1137)
OKLCHoklch(44.7% 0.184 321.9)
XYZxyz(14.3495, 7.5532, 26.6834)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8F #2E8F1F
analogous
#481F8F #801F8F #8F1F66
triadic
#801F8F #8F801F #1F8F80
tetradic
#801F8F #8F481F #2E8F1F #1F668F
square
#801F8F #8F481F #2E8F1F #1F668F
split-complementary
#801F8F #668F1F #1F8F48
monochromatic
#26092A #53145D #801F8F #AD2AC1 #C74FD9

Accessibility & contrast

On white

8.37
#801F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#801F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F8F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F8F#FFFFFF#000000##FFFFFF
##801F8F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#813656
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #801f8f;
/* rgb */ color: rgb(128, 31, 143);
/* oklch */ color: oklch(44.7% 0.184 321.9);
Tailwind
colors: {
  custom: {
    50: '#a967b0',
    500: '#801f8f',
    950: '#000000',
  },
}
SCSS
$custom: #801f8f;
$custom-light: #a967b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8f",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 291.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.1841,
    "h": 321.9
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#801F8F
secondary
#5DBC4E
accent
#E74057
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #801F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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