#801F8C#801F8C

#801F8C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.182 H 323.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#801F8C
RGBrgb(128, 31, 140)
HSLhsl(293, 64%, 34%)
HSVhsv(293, 78%, 55%)
CMYKcmyk(8.6%, 77.9%, 0%, 45.1%)
CIE-LABlab(32.84, 54.33, -39.08)
CIE-LCHlch(32.84, 66.92, 324.27°)
OKLaboklab(44.5% 0.1451 -0.1092)
OKLCHoklch(44.5% 0.182 323)
XYZxyz(14.1252, 7.4635, 25.5024)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8C #2B8C1F
analogous
#491F8C #801F8C #8C1F61
triadic
#801F8C #8C801F #1F8C80
tetradic
#801F8C #8C491F #2B8C1F #1F618C
square
#801F8C #8C491F #2B8C1F #1F618C
split-complementary
#801F8C #618C1F #1F8C49
monochromatic
#240928 #52145A #801F8C #AE2ABE #C94ED8

Accessibility & contrast

On white

8.42
#801F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#801F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F8C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F8C#FFFFFF#000000##FFFFFF
##801F8C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#823455
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801f8c;
/* rgb */ color: rgb(128, 31, 140);
/* oklch */ color: oklch(44.5% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#a867ae',
    500: '#801f8c',
    950: '#000000',
  },
}
SCSS
$custom: #801f8c;
$custom-light: #a867ae;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8c",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 293.394,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.18157,
    "h": 323
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#801F8C
secondary
#58BB4C
accent
#E74153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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