#801173#801173

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

Color values

HEX#801173
RGBrgb(128, 17, 115)
HSLhsl(307, 77%, 28%)
HSVhsv(307, 87%, 50%)
CMYKcmyk(0%, 86.7%, 10.2%, 49.8%)
CIE-LABlab(29.98, 54.00, -27.94)
CIE-LCHlch(29.98, 60.80, 332.64°)
OKLaboklab(41.98% 0.1569 -0.0767)
OKLCHoklch(41.98% 0.175 333.9)
XYZxyz(12.1972, 6.2290, 16.7763)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801173 #11801E
analogous
#551180 #801173 #80113B
triadic
#801173 #738011 #117380
tetradic
#801173 #805511 #11801E #113B80
square
#801173 #805511 #11801E #113B80
split-complementary
#801173 #3B8011 #118055
monochromatic
#1B0418 #4A0A42 #801173 #B618A4 #E329CD

Accessibility & contrast

On white

9.35
#801173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801173
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801173#FFFFFF#000000##FFFFFF
##8011731.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#861F44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801173;
/* rgb */ color: rgb(128, 17, 115);
/* oklch */ color: oklch(42.0% 0.175 333.9);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#801173',
    950: '#000000',
  },
}
SCSS
$custom: #801173;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#801173",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 307.027,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.17467,
    "h": 333.9
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#801173
secondary
#37B646
accent
#F34B35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801173

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

Preview Lab → · Contrast checker → · Palette generator →

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