#801873#801873

#801873 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.169 H 334.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#801873
RGBrgb(128, 24, 115)
HSLhsl(308, 68%, 30%)
HSVhsv(308, 81%, 50%)
CMYKcmyk(0%, 81.3%, 10.2%, 49.8%)
CIE-LABlab(30.60, 52.22, -26.97)
CIE-LCHlch(30.60, 58.78, 332.68°)
OKLaboklab(42.42% 0.1517 -0.074)
OKLCHoklch(42.42% 0.169 334)
XYZxyz(12.3234, 6.4814, 16.8183)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801873 #188025
analogous
#591880 #801873 #80183F
triadic
#801873 #738018 #187380
tetradic
#801873 #805918 #188025 #183F80
square
#801873 #805918 #188025 #183F80
split-complementary
#801873 #3F8018 #188059
monochromatic
#1A0517 #4C0E45 #801873 #B422A1 #DA39C6

Accessibility & contrast

On white

9.15
#801873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#801873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801873
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801873#FFFFFF#000000##FFFFFF
##8018731.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#862345
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801873;
/* rgb */ color: rgb(128, 24, 115);
/* oklch */ color: oklch(42.4% 0.169 334.0);
Tailwind
colors: {
  custom: {
    50: '#a8639b',
    500: '#801873',
    950: '#000000',
  },
}
SCSS
$custom: #801873;
$custom-light: #a8639b;
$custom-dark: #000000;
JSON
{
  "hex": "#801873",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 307.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.16877,
    "h": 334
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#801873
secondary
#40B44E
accent
#EB523D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801873

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

Preview Lab → · Contrast checker → · Palette generator →

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