#801B8D#801B8D

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

Color values

HEX#801B8D
RGBrgb(128, 27, 141)
HSLhsl(293, 68%, 33%)
HSVhsv(293, 81%, 55%)
CMYKcmyk(9.2%, 80.9%, 0%, 44.7%)
CIE-LABlab(32.47, 55.76, -40.28)
CIE-LCHlch(32.47, 68.78, 324.15°)
OKLaboklab(44.26% 0.1483 -0.1127)
OKLCHoklch(44.26% 0.186 322.8)
XYZxyz(14.1013, 7.2970, 25.8599)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801B8D #288D1B
analogous
#471B8D #801B8D #8D1B61
triadic
#801B8D #8D801B #1B8D80
tetradic
#801B8D #8D471B #288D1B #1B618D
square
#801B8D #8D471B #288D1B #1B618D
split-complementary
#801B8D #618D1B #1B8D47
monochromatic
#230726 #51115A #801B8D #AF25C0 #CB47DC

Accessibility & contrast

On white

8.54
#801B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801B8D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801B8D#FFFFFF#000000##FFFFFF
##801B8D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#823354
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801b8d;
/* rgb */ color: rgb(128, 27, 141);
/* oklch */ color: oklch(44.3% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#a965af',
    500: '#801b8d',
    950: '#000000',
  },
}
SCSS
$custom: #801b8d;
$custom-light: #a965af;
$custom-dark: #000000;
JSON
{
  "hex": "#801b8d",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 293.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.18629,
    "h": 322.8
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#801B8D
secondary
#54BD46
accent
#EB3D51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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