#801877#801877

#801877 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 332.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#801877
RGBrgb(128, 24, 119)
HSLhsl(305, 68%, 30%)
HSVhsv(305, 81%, 50%)
CMYKcmyk(0%, 81.3%, 7%, 49.8%)
CIE-LABlab(30.82, 52.85, -29.16)
CIE-LCHlch(30.82, 60.36, 331.12°)
OKLaboklab(42.65% 0.1518 -0.0803)
OKLCHoklch(42.65% 0.172 332.1)
XYZxyz(12.5585, 6.5754, 18.0569)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801877 #188021
analogous
#551880 #801877 #801843
triadic
#801877 #778018 #187780
tetradic
#801877 #805518 #188021 #184380
square
#801877 #805518 #188021 #184380
split-complementary
#801877 #438018 #188055
monochromatic
#1A0518 #4C0E47 #801877 #B422A7 #DA39CC

Accessibility & contrast

On white

9.07
#801877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#801877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801877
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801877#FFFFFF#000000##FFFFFF
##8018771.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F79
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#862547
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801877;
/* rgb */ color: rgb(128, 24, 119);
/* oklch */ color: oklch(42.6% 0.172 332.1);
Tailwind
colors: {
  custom: {
    50: '#a8639e',
    500: '#801877',
    950: '#000000',
  },
}
SCSS
$custom: #801877;
$custom-light: #a8639e;
$custom-dark: #000000;
JSON
{
  "hex": "#801877",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 305.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.17173,
    "h": 332.1
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#801877
secondary
#40B44A
accent
#EB4C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801877

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

Preview Lab → · Contrast checker → · Palette generator →

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