#80126E#80126E

#80126E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.170 H 336.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#80126E
RGBrgb(128, 18, 110)
HSLhsl(310, 75%, 29%)
HSVhsv(310, 86%, 50%)
CMYKcmyk(0%, 85.9%, 14.1%, 49.8%)
CIE-LABlab(29.78, 53.02, -25.05)
CIE-LCHlch(29.78, 58.64, 334.71°)
OKLaboklab(41.75% 0.1561 -0.0684)
OKLCHoklch(41.75% 0.17 336.3)
XYZxyz(11.9331, 6.1488, 15.3072)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80126E #128024
analogous
#5B1280 #80126E #801237
triadic
#80126E #6E8012 #126E80
tetradic
#80126E #805B12 #128024 #123780
square
#80126E #805B12 #128024 #123780
split-complementary
#80126E #378012 #12805B
monochromatic
#1B0417 #4A0A40 #80126E #B61A9C #E12BC3

Accessibility & contrast

On white

9.42
#80126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#80126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80126E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80126E#FFFFFF#000000##FFFFFF
##80126E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#871C41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80126e;
/* rgb */ color: rgb(128, 18, 110);
/* oklch */ color: oklch(41.7% 0.170 336.3);
Tailwind
colors: {
  custom: {
    50: '#a96198',
    500: '#80126e',
    950: '#000000',
  },
}
SCSS
$custom: #80126e;
$custom-light: #a96198;
$custom-dark: #000000;
JSON
{
  "hex": "#80126e",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 309.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.17039,
    "h": 336.3
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#80126E
secondary
#38B64D
accent
#F25536
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80126E

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

Preview Lab → · Contrast checker → · Palette generator →

#80126E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva