#80127A#80127A

#80127A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.179 H 330.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#80127A
RGBrgb(128, 18, 122)
HSLhsl(303, 75%, 29%)
HSVhsv(303, 86%, 50%)
CMYKcmyk(0%, 85.9%, 4.7%, 49.8%)
CIE-LABlab(30.47, 54.86, -31.61)
CIE-LCHlch(30.47, 63.32, 330.05°)
OKLaboklab(42.45% 0.1562 -0.0874)
OKLCHoklch(42.45% 0.179 330.8)
XYZxyz(12.6312, 6.4280, 18.9841)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80127A #128018
analogous
#4F1280 #80127A #801243
triadic
#80127A #7A8012 #127A80
tetradic
#80127A #804F12 #128018 #124380
square
#80127A #804F12 #128018 #124380
split-complementary
#80127A #438012 #12804F
monochromatic
#1B041A #4A0A47 #80127A #B61AAD #E12BD7

Accessibility & contrast

On white

9.19
#80127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#80127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80127A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80127A#FFFFFF#000000##FFFFFF
##80127A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#852448
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #80127a;
/* rgb */ color: rgb(128, 18, 122);
/* oklch */ color: oklch(42.5% 0.179 330.8);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#80127a',
    950: '#000000',
  },
}
SCSS
$custom: #80127a;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80127a",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 303.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.17901,
    "h": 330.8
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#80127A
secondary
#38B63F
accent
#F24036
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #80127A

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

Preview Lab → · Contrast checker → · Palette generator →

#80127A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva