#801F8D#801F8D

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

Color values

HEX#801F8D
RGBrgb(128, 31, 141)
HSLhsl(293, 64%, 34%)
HSVhsv(293, 78%, 55%)
CMYKcmyk(9.2%, 78%, 0%, 44.7%)
CIE-LABlab(32.90, 54.51, -39.59)
CIE-LCHlch(32.90, 67.37, 324.01°)
OKLaboklab(44.56% 0.145 -0.1107)
OKLCHoklch(44.56% 0.182 322.6)
XYZxyz(14.1993, 7.4931, 25.8925)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F8D #2C8D1F
analogous
#491F8D #801F8D #8D1F63
triadic
#801F8D #8D801F #1F8D80
tetradic
#801F8D #8D491F #2C8D1F #1F638D
square
#801F8D #8D491F #2C8D1F #1F638D
split-complementary
#801F8D #638D1F #1F8D49
monochromatic
#250929 #52145B #801F8D #AE2ABF #C84ED8

Accessibility & contrast

On white

8.41
#801F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#801F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F8D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F8D#FFFFFF#000000##FFFFFF
##801F8D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#823555
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #801f8d;
/* rgb */ color: rgb(128, 31, 141);
/* oklch */ color: oklch(44.6% 0.182 322.6);
Tailwind
colors: {
  custom: {
    50: '#a867af',
    500: '#801f8d',
    950: '#000000',
  },
}
SCSS
$custom: #801f8d;
$custom-light: #a867af;
$custom-dark: #000000;
JSON
{
  "hex": "#801f8d",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 292.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.18241,
    "h": 322.6
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#801F8D
secondary
#5ABB4D
accent
#E74154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #801F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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