#801A8E#801A8E

#801A8E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.188 H 322.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#801A8E
RGBrgb(128, 26, 142)
HSLhsl(293, 69%, 33%)
HSVhsv(293, 82%, 56%)
CMYKcmyk(9.9%, 81.7%, 0%, 44.3%)
CIE-LABlab(32.44, 56.23, -40.95)
CIE-LCHlch(32.44, 69.56, 323.93°)
OKLaboklab(44.26% 0.149 -0.1146)
OKLCHoklch(44.26% 0.188 322.4)
XYZxyz(14.1535, 7.2818, 26.2460)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A8E #288E1A
analogous
#461A8E #801A8E #8E1A62
triadic
#801A8E #8E801A #1A8E80
tetradic
#801A8E #8E461A #288E1A #1A628E
square
#801A8E #8E461A #288E1A #1A628E
split-complementary
#801A8E #628E1A #1A8E46
monochromatic
#230727 #51115A #801A8E #AF23C2 #CB45DD

Accessibility & contrast

On white

8.55
#801A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#801A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A8E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A8E#FFFFFF#000000##FFFFFF
##801A8E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#823355
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801a8e;
/* rgb */ color: rgb(128, 26, 142);
/* oklch */ color: oklch(44.3% 0.188 322.4);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#801a8e',
    950: '#000000',
  },
}
SCSS
$custom: #801a8e;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801a8e",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 292.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.18801,
    "h": 322.4
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#801A8E
secondary
#54BE45
accent
#EC3C51
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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