#80127F#80127F

#80127F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.183 H 328.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#80127F
RGBrgb(128, 18, 127)
HSLhsl(301, 75%, 29%)
HSVhsv(301, 86%, 50%)
CMYKcmyk(0%, 85.9%, 0.8%, 49.8%)
CIE-LABlab(30.77, 55.68, -34.28)
CIE-LCHlch(30.77, 65.38, 328.38°)
OKLaboklab(42.77% 0.156 -0.0951)
OKLCHoklch(42.77% 0.183 328.6)
XYZxyz(12.9490, 6.5551, 20.6578)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80127F #128013
analogous
#4A1280 #80127F #801248
triadic
#80127F #7F8012 #127F80
tetradic
#80127F #804A12 #128013 #124880
square
#80127F #804A12 #128013 #124880
split-complementary
#80127F #488012 #12804A
monochromatic
#1B041B #4A0A4A #80127F #B61AB4 #E12BE0

Accessibility & contrast

On white

9.09
#80127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#80127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##80127F#FFFFFF#000000##FFFFFF
##80127F1.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)
#004082
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#84274B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #80127f;
/* rgb */ color: rgb(128, 18, 127);
/* oklch */ color: oklch(42.8% 0.183 328.6);
Tailwind
colors: {
  custom: {
    50: '#a962a4',
    500: '#80127f',
    950: '#000000',
  },
}
SCSS
$custom: #80127f;
$custom-light: #a962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80127f",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 300.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.18273,
    "h": 328.6
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#80127F
secondary
#38B639
accent
#F23836
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80127F

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

Preview Lab → · Contrast checker → · Palette generator →

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