#801D8E#801D8E

#801D8E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.185 H 322.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#801D8E
RGBrgb(128, 29, 142)
HSLhsl(293, 66%, 34%)
HSVhsv(293, 80%, 56%)
CMYKcmyk(9.9%, 79.6%, 0%, 44.3%)
CIE-LABlab(32.75, 55.33, -40.46)
CIE-LCHlch(32.75, 68.55, 323.83°)
OKLaboklab(44.47% 0.1466 -0.1132)
OKLCHoklch(44.47% 0.185 322.3)
XYZxyz(14.2234, 7.4218, 26.2693)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D8E #2B8E1D
analogous
#471D8E #801D8E #8E1D63
triadic
#801D8E #8E801D #1D8E80
tetradic
#801D8E #8E471D #2B8E1D #1D638E
square
#801D8E #8E471D #2B8E1D #1D638E
split-complementary
#801D8E #638E1D #1D8E47
monochromatic
#240828 #52135B #801D8E #AE27C1 #C94BDA

Accessibility & contrast

On white

8.45
#801D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#801D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D8E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D8E#FFFFFF#000000##FFFFFF
##801D8E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#823455
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801d8e;
/* rgb */ color: rgb(128, 29, 142);
/* oklch */ color: oklch(44.5% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#a966b0',
    500: '#801d8e',
    950: '#000000',
  },
}
SCSS
$custom: #801d8e;
$custom-light: #a966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#801d8e",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 292.566,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.18524,
    "h": 322.3
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#801D8E
secondary
#58BD4A
accent
#E93F54
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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