#801371#801371

#801371 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.172 H 334.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#801371
RGBrgb(128, 19, 113)
HSLhsl(308, 74%, 29%)
HSVhsv(308, 85%, 50%)
CMYKcmyk(0%, 85.2%, 11.7%, 49.8%)
CIE-LABlab(30.03, 53.23, -26.59)
CIE-LCHlch(30.03, 59.50, 333.46°)
OKLaboklab(41.98% 0.1555 -0.0728)
OKLCHoklch(41.98% 0.172 334.9)
XYZxyz(12.1158, 6.2483, 16.1875)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801371 #138022
analogous
#591380 #801371 #80133B
triadic
#801371 #718013 #137180
tetradic
#801371 #805913 #138022 #133B80
square
#801371 #805913 #138022 #133B80
split-complementary
#801371 #3B8013 #138059
monochromatic
#1B0418 #4B0B42 #801371 #B51BA0 #E02DC7

Accessibility & contrast

On white

9.34
#801371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#801371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801371
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801371#FFFFFF#000000##FFFFFF
##8013711.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#871F43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801371;
/* rgb */ color: rgb(128, 19, 113);
/* oklch */ color: oklch(42.0% 0.172 334.9);
Tailwind
colors: {
  custom: {
    50: '#a9619a',
    500: '#801371',
    950: '#000000',
  },
}
SCSS
$custom: #801371;
$custom-light: #a9619a;
$custom-dark: #000000;
JSON
{
  "hex": "#801371",
  "rgb": {
    "r": 128,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 308.257,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.17171,
    "h": 334.9
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#801371
secondary
#39B54A
accent
#F15137
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801371

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

Preview Lab → · Contrast checker → · Palette generator →

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