#801381#801381

#801381 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.184 H 327.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#801381
RGBrgb(128, 19, 129)
HSLhsl(299, 74%, 29%)
HSVhsv(299, 85%, 51%)
CMYKcmyk(0.8%, 85.3%, 0%, 49.4%)
CIE-LABlab(30.98, 55.78, -35.21)
CIE-LCHlch(30.98, 65.96, 327.74°)
OKLaboklab(42.95% 0.1553 -0.0978)
OKLCHoklch(42.95% 0.184 327.8)
XYZxyz(13.0972, 6.6409, 21.3566)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801381 #148113
analogous
#491381 #801381 #81134B
triadic
#801381 #818013 #138180
tetradic
#801381 #814913 #148113 #134B81
square
#801381 #814913 #148113 #134B81
split-complementary
#801381 #4B8113 #138149
monochromatic
#1A041B #4B0B4C #801381 #B51BB6 #DF2EE0

Accessibility & contrast

On white

9.02
#801381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#801381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801381
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801381#FFFFFF#000000##FFFFFF
##8013811.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#344E7E
Tritanopia (blue-blind)
#84284C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801381;
/* rgb */ color: rgb(128, 19, 129);
/* oklch */ color: oklch(43.0% 0.184 327.8);
Tailwind
colors: {
  custom: {
    50: '#a962a6',
    500: '#801381',
    950: '#000000',
  },
}
SCSS
$custom: #801381;
$custom-light: #a962a6;
$custom-dark: #000000;
JSON
{
  "hex": "#801381",
  "rgb": {
    "r": 128,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 299.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.18351,
    "h": 327.8
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#801381
secondary
#3BB63A
accent
#F13739
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801381

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

Preview Lab → · Contrast checker → · Palette generator →

#801381 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva