#801F88#801F88

#801F88 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.178 H 324.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#801F88
RGBrgb(128, 31, 136)
HSLhsl(295, 63%, 33%)
HSVhsv(295, 77%, 53%)
CMYKcmyk(5.9%, 77.2%, 0%, 46.7%)
CIE-LABlab(32.59, 53.60, -37.01)
CIE-LCHlch(32.59, 65.14, 325.38°)
OKLaboklab(44.23% 0.1453 -0.1031)
OKLCHoklch(44.23% 0.178 324.6)
XYZxyz(13.8357, 7.3476, 23.9773)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F88 #27881F
analogous
#4C1F88 #801F88 #881F5B
triadic
#801F88 #88801F #1F8880
tetradic
#801F88 #884C1F #27881F #1F5B88
square
#801F88 #884C1F #27881F #1F5B88
split-complementary
#801F88 #5B881F #1F884C
monochromatic
#220824 #511456 #801F88 #AF2ABA #CB4BD6

Accessibility & contrast

On white

8.50
#801F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#801F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F88
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F88#FFFFFF#000000##FFFFFF
##801F881.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#833252
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801f88;
/* rgb */ color: rgb(128, 31, 136);
/* oklch */ color: oklch(44.2% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#a866ab',
    500: '#801f88',
    950: '#000000',
  },
}
SCSS
$custom: #801f88;
$custom-light: #a866ab;
$custom-dark: #000000;
JSON
{
  "hex": "#801f88",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 295.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.17822,
    "h": 324.6
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#801F88
secondary
#53B94A
accent
#E6424E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801F88

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

Preview Lab → · Contrast checker → · Palette generator →

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