#801279#801279

#801279 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.178 H 331.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#801279
RGBrgb(128, 18, 121)
HSLhsl(304, 75%, 29%)
HSVhsv(304, 86%, 50%)
CMYKcmyk(0%, 85.9%, 5.5%, 49.8%)
CIE-LABlab(30.41, 54.71, -31.08)
CIE-LCHlch(30.41, 62.92, 330.40°)
OKLaboklab(42.39% 0.1563 -0.0858)
OKLCHoklch(42.39% 0.178 331.2)
XYZxyz(12.5696, 6.4033, 18.6594)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801279 #128019
analogous
#501280 #801279 #801242
triadic
#801279 #798012 #127980
tetradic
#801279 #805012 #128019 #124280
square
#801279 #805012 #128019 #124280
split-complementary
#801279 #428012 #128050
monochromatic
#1B0419 #4A0A46 #801279 #B61AAC #E12BD6

Accessibility & contrast

On white

9.21
#801279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#801279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801279
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801279#FFFFFF#000000##FFFFFF
##8012791.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#852347
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801279;
/* rgb */ color: rgb(128, 18, 121);
/* oklch */ color: oklch(42.4% 0.178 331.2);
Tailwind
colors: {
  custom: {
    50: '#a961a0',
    500: '#801279',
    950: '#000000',
  },
}
SCSS
$custom: #801279;
$custom-light: #a961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#801279",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 121
  },
  "hsl": {
    "h": 303.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.17827,
    "h": 331.2
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#801279
secondary
#38B640
accent
#F24236
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #801279

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

Preview Lab → · Contrast checker → · Palette generator →

#801279 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva