#801876#801876

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

Color values

HEX#801876
RGBrgb(128, 24, 118)
HSLhsl(306, 68%, 30%)
HSVhsv(306, 81%, 50%)
CMYKcmyk(0%, 81.3%, 7.8%, 49.8%)
CIE-LABlab(30.76, 52.70, -28.61)
CIE-LCHlch(30.76, 59.96, 331.50°)
OKLaboklab(42.59% 0.1518 -0.0787)
OKLCHoklch(42.59% 0.171 332.6)
XYZxyz(12.4988, 6.5515, 17.7423)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801876 #188022
analogous
#561880 #801876 #801842
triadic
#801876 #768018 #187680
tetradic
#801876 #805618 #188022 #184280
square
#801876 #805618 #188022 #184280
split-complementary
#801876 #428018 #188056
monochromatic
#1A0518 #4C0E46 #801876 #B422A6 #DA39CA

Accessibility & contrast

On white

9.09
#801876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801876
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801876#FFFFFF#000000##FFFFFF
##8018761.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F78
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#862547
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801876;
/* rgb */ color: rgb(128, 24, 118);
/* oklch */ color: oklch(42.6% 0.171 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8639e',
    500: '#801876',
    950: '#000000',
  },
}
SCSS
$custom: #801876;
$custom-light: #a8639e;
$custom-dark: #000000;
JSON
{
  "hex": "#801876",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 305.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.17098,
    "h": 332.6
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#801876
secondary
#40B44B
accent
#EB4D3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801876

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

Preview Lab → · Contrast checker → · Palette generator →

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