#801A8F#801A8F

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

Color values

HEX#801A8F
RGBrgb(128, 26, 143)
HSLhsl(292, 69%, 33%)
HSVhsv(292, 82%, 56%)
CMYKcmyk(10.5%, 81.8%, 0%, 43.9%)
CIE-LABlab(32.51, 56.41, -41.46)
CIE-LCHlch(32.51, 70.01, 323.68°)
OKLaboklab(44.32% 0.1489 -0.1161)
OKLCHoklch(44.32% 0.189 322)
XYZxyz(14.2289, 7.3120, 26.6432)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A8F #298F1A
analogous
#461A8F #801A8F #8F1A63
triadic
#801A8F #8F801A #1A8F80
tetradic
#801A8F #8F461A #298F1A #1A638F
square
#801A8F #8F461A #298F1A #1A638F
split-complementary
#801A8F #638F1A #1A8F46
monochromatic
#230727 #52115B #801A8F #AE23C3 #CA46DD

Accessibility & contrast

On white

8.53
#801A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801A8F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A8F#FFFFFF#000000##FFFFFF
##801A8F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#813355
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801a8f;
/* rgb */ color: rgb(128, 26, 143);
/* oklch */ color: oklch(44.3% 0.189 322.0);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#801a8f',
    950: '#000000',
  },
}
SCSS
$custom: #801a8f;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801a8f",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 292.308,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.18883,
    "h": 322
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#801A8F
secondary
#55BF46
accent
#EC3C52
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #801A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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