#80126F#80126F

#80126F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 335.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#80126F
RGBrgb(128, 18, 111)
HSLhsl(309, 75%, 29%)
HSVhsv(309, 86%, 50%)
CMYKcmyk(0%, 85.9%, 13.3%, 49.8%)
CIE-LABlab(29.84, 53.17, -25.61)
CIE-LCHlch(29.84, 59.01, 334.28°)
OKLaboklab(41.8% 0.1561 -0.07)
OKLCHoklch(41.8% 0.171 335.8)
XYZxyz(11.9878, 6.1707, 15.5956)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80126F #128023
analogous
#5A1280 #80126F #801238
triadic
#80126F #6F8012 #126F80
tetradic
#80126F #805A12 #128023 #123880
square
#80126F #805A12 #128023 #123880
split-complementary
#80126F #388012 #12805A
monochromatic
#1B0417 #4A0A40 #80126F #B61A9E #E12BC5

Accessibility & contrast

On white

9.40
#80126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80126F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80126F#FFFFFF#000000##FFFFFF
##80126F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#871D41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80126f;
/* rgb */ color: rgb(128, 18, 111);
/* oklch */ color: oklch(41.8% 0.171 335.8);
Tailwind
colors: {
  custom: {
    50: '#a96198',
    500: '#80126f',
    950: '#000000',
  },
}
SCSS
$custom: #80126f;
$custom-light: #a96198;
$custom-dark: #000000;
JSON
{
  "hex": "#80126f",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 309.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.17109,
    "h": 335.8
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#80126F
secondary
#38B64C
accent
#F25336
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #80126F

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

Preview Lab → · Contrast checker → · Palette generator →

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