#801773#801773

#801773 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.170 H 334.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#801773
RGBrgb(128, 23, 115)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 82%, 50%)
CMYKcmyk(0%, 82%, 10.2%, 49.8%)
CIE-LABlab(30.50, 52.50, -27.13)
CIE-LCHlch(30.50, 59.10, 332.68°)
OKLaboklab(42.35% 0.1525 -0.0744)
OKLCHoklch(42.35% 0.17 334)
XYZxyz(12.3031, 6.4409, 16.8116)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801773 #178024
analogous
#591780 #801773 #80173E
triadic
#801773 #738017 #177380
tetradic
#801773 #805917 #178024 #173E80
square
#801773 #805917 #178024 #173E80
split-complementary
#801773 #3E8017 #178059
monochromatic
#1A0517 #4C0E44 #801773 #B420A2 #DB36C7

Accessibility & contrast

On white

9.18
#801773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#801773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801773
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801773#FFFFFF#000000##FFFFFF
##8017731.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801773;
/* rgb */ color: rgb(128, 23, 115);
/* oklch */ color: oklch(42.3% 0.170 334.0);
Tailwind
colors: {
  custom: {
    50: '#a8629b',
    500: '#801773',
    950: '#000000',
  },
}
SCSS
$custom: #801773;
$custom-light: #a8629b;
$custom-dark: #000000;
JSON
{
  "hex": "#801773",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 307.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.1697,
    "h": 334
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#801773
secondary
#3EB44D
accent
#EC513B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801773

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

Preview Lab → · Contrast checker → · Palette generator →

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