#801F8B#801F8B

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

Color values

HEX#801F8B
RGBrgb(128, 31, 139)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 55%)
CMYKcmyk(7.9%, 77.7%, 0%, 45.5%)
CIE-LABlab(32.78, 54.14, -38.56)
CIE-LCHlch(32.78, 66.47, 324.54°)
OKLaboklab(44.43% 0.1451 -0.1077)
OKLCHoklch(44.43% 0.181 323.4)
XYZxyz(14.0518, 7.4341, 25.1159)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8B #2A8B1F
analogous
#4A1F8B #801F8B #8B1F60
triadic
#801F8B #8B801F #1F8B80
tetradic
#801F8B #8B4A1F #2A8B1F #1F608B
square
#801F8B #8B4A1F #2A8B1F #1F608B
split-complementary
#801F8B #608B1F #1F8B4A
monochromatic
#240927 #521459 #801F8B #AE2ABD #C94DD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801F8B#FFFFFF#000000##FFFFFF
##801F8B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#823454
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801f8b;
/* rgb */ color: rgb(128, 31, 139);
/* oklch */ color: oklch(44.4% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#a866ad',
    500: '#801f8b',
    950: '#000000',
  },
}
SCSS
$custom: #801f8b;
$custom-light: #a866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8b",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 293.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.18073,
    "h": 323.4
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#801F8B
secondary
#57BA4C
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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