#801D8B#801D8B

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

Color values

HEX#801D8B
RGBrgb(128, 29, 139)
HSLhsl(294, 65%, 33%)
HSVhsv(294, 79%, 55%)
CMYKcmyk(7.9%, 79.1%, 0%, 45.5%)
CIE-LABlab(32.55, 54.79, -38.92)
CIE-LCHlch(32.55, 67.20, 324.61°)
OKLaboklab(44.27% 0.1469 -0.1087)
OKLCHoklch(44.27% 0.183 323.5)
XYZxyz(14.0012, 7.3329, 25.0990)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D8B #288B1D
analogous
#491D8B #801D8B #8B1D5F
triadic
#801D8B #8B801D #1D8B80
tetradic
#801D8B #8B491D #288B1D #1D5F8B
square
#801D8B #8B491D #288B1D #1D5F8B
split-complementary
#801D8B #5F8B1D #1D8B49
monochromatic
#230826 #511258 #801D8B #AF28BE #CB49D9

Accessibility & contrast

On white

8.51
#801D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801D8B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D8B#FFFFFF#000000##FFFFFF
##801D8B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#823354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801d8b;
/* rgb */ color: rgb(128, 29, 139);
/* oklch */ color: oklch(44.3% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#a866ad',
    500: '#801d8b',
    950: '#000000',
  },
}
SCSS
$custom: #801d8b;
$custom-light: #a866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801d8b",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 294,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.18275,
    "h": 323.5
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#801D8B
secondary
#54BB49
accent
#E83F50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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