#80127C#80127C

#80127C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 329.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#80127C
RGBrgb(128, 18, 124)
HSLhsl(302, 75%, 29%)
HSVhsv(302, 86%, 50%)
CMYKcmyk(0%, 85.9%, 3.1%, 49.8%)
CIE-LABlab(30.59, 55.19, -32.69)
CIE-LCHlch(30.59, 64.14, 329.36°)
OKLaboklab(42.58% 0.1562 -0.0905)
OKLCHoklch(42.58% 0.18 329.9)
XYZxyz(12.7564, 6.4781, 19.6434)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80127C #128016
analogous
#4D1280 #80127C #801245
triadic
#80127C #7C8012 #127C80
tetradic
#80127C #804D12 #128016 #124580
square
#80127C #804D12 #128016 #124580
split-complementary
#80127C #458012 #12804D
monochromatic
#1B041A #4A0A48 #80127C #B61AB0 #E12BDB

Accessibility & contrast

On white

9.15
#80127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#80127C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80127C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80127C#FFFFFF#000000##FFFFFF
##80127C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#852549
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #80127c;
/* rgb */ color: rgb(128, 18, 124);
/* oklch */ color: oklch(42.6% 0.180 329.9);
Tailwind
colors: {
  custom: {
    50: '#a961a2',
    500: '#80127c',
    950: '#000000',
  },
}
SCSS
$custom: #80127c;
$custom-light: #a961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80127c",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 302.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.18049,
    "h": 329.9
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#80127C
secondary
#38B63D
accent
#F23D36
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80127C

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

Preview Lab → · Contrast checker → · Palette generator →

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