#801B8B#801B8B

#801B8B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.185 H 323.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#801B8B
RGBrgb(128, 27, 139)
HSLhsl(294, 67%, 33%)
HSVhsv(294, 81%, 55%)
CMYKcmyk(7.9%, 80.6%, 0%, 45.5%)
CIE-LABlab(32.34, 55.39, -39.25)
CIE-LCHlch(32.34, 67.89, 324.68°)
OKLaboklab(44.12% 0.1485 -0.1097)
OKLCHoklch(44.12% 0.185 323.6)
XYZxyz(13.9538, 7.2380, 25.0832)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801B8B #268B1B
analogous
#481B8B #801B8B #8B1B5E
triadic
#801B8B #8B801B #1B8B80
tetradic
#801B8B #8B481B #268B1B #1B5E8B
square
#801B8B #8B481B #268B1B #1B5E8B
split-complementary
#801B8B #5E8B1B #1B8B48
monochromatic
#220725 #511158 #801B8B #AF25BE #CC45DB

Accessibility & contrast

On white

8.58
#801B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#801B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801B8B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801B8B#FFFFFF#000000##FFFFFF
##801B8B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#823253
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801b8b;
/* rgb */ color: rgb(128, 27, 139);
/* oklch */ color: oklch(44.1% 0.185 323.6);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#801b8b',
    950: '#000000',
  },
}
SCSS
$custom: #801b8b;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801b8b",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 294.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.18466,
    "h": 323.6
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#801B8B
secondary
#51BC45
accent
#EA3D4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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