#801A7E#801A7E

#801A7E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.175 H 329.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#801A7E
RGBrgb(128, 26, 126)
HSLhsl(301, 66%, 30%)
HSVhsv(301, 80%, 50%)
CMYKcmyk(0%, 79.7%, 1.6%, 49.8%)
CIE-LABlab(31.43, 53.43, -32.61)
CIE-LCHlch(31.43, 62.59, 328.60°)
OKLaboklab(43.21% 0.1501 -0.0903)
OKLCHoklch(43.21% 0.175 329)
XYZxyz(13.0373, 6.8353, 20.3673)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A7E #1A801C
analogous
#4F1A80 #801A7E #801A4B
triadic
#801A7E #7E801A #1A7E80
tetradic
#801A7E #804F1A #1A801C #1A4B80
square
#801A7E #804F1A #1A801C #1A4B80
split-complementary
#801A7E #4B801A #1A804F
monochromatic
#1A051A #4D104C #801A7E #B324B0 #D83DD5

Accessibility & contrast

On white

8.87
#801A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#801A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A7E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A7E#FFFFFF#000000##FFFFFF
##801A7E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#852A4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801a7e;
/* rgb */ color: rgb(128, 26, 126);
/* oklch */ color: oklch(43.2% 0.175 329.0);
Tailwind
colors: {
  custom: {
    50: '#a864a4',
    500: '#801a7e',
    950: '#000000',
  },
}
SCSS
$custom: #801a7e;
$custom-light: #a864a4;
$custom-dark: #000000;
JSON
{
  "hex": "#801a7e",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 301.176,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.17519,
    "h": 329
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#801A7E
secondary
#42B444
accent
#E9423F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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