#801276#801276

#801276 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.176 H 332.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#801276
RGBrgb(128, 18, 118)
HSLhsl(305, 75%, 29%)
HSVhsv(305, 86%, 50%)
CMYKcmyk(0%, 85.9%, 7.8%, 49.8%)
CIE-LABlab(30.23, 54.23, -29.45)
CIE-LCHlch(30.23, 61.72, 331.49°)
OKLaboklab(42.21% 0.1563 -0.0811)
OKLCHoklch(42.21% 0.176 332.6)
XYZxyz(12.3885, 6.3309, 17.7056)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801276 #12801C
analogous
#531280 #801276 #80123F
triadic
#801276 #768012 #127680
tetradic
#801276 #805312 #12801C #123F80
square
#801276 #805312 #12801C #123F80
split-complementary
#801276 #3F8012 #128053
monochromatic
#1B0419 #4A0A45 #801276 #B61AA7 #E12BD1

Accessibility & contrast

On white

9.27
#801276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#801276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801276
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801276#FFFFFF#000000##FFFFFF
##8012761.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E78
Deuteranopia (green-blind)
#3B4C74
Tritanopia (blue-blind)
#862145
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801276;
/* rgb */ color: rgb(128, 18, 118);
/* oklch */ color: oklch(42.2% 0.176 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9619e',
    500: '#801276',
    950: '#000000',
  },
}
SCSS
$custom: #801276;
$custom-light: #a9619e;
$custom-dark: #000000;
JSON
{
  "hex": "#801276",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 305.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.17608,
    "h": 332.6
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#801276
secondary
#38B644
accent
#F24736
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801276

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

Preview Lab → · Contrast checker → · Palette generator →

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