#801472#801472

#801472 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.172 H 334.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#801472
RGBrgb(128, 20, 114)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 84%, 50%)
CMYKcmyk(0%, 84.4%, 10.9%, 49.8%)
CIE-LABlab(30.17, 53.14, -27.01)
CIE-LCHlch(30.17, 59.61, 333.06°)
OKLaboklab(42.09% 0.1548 -0.074)
OKLCHoklch(42.09% 0.172 334.4)
XYZxyz(12.1897, 6.3055, 16.4914)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801472 #148022
analogous
#581480 #801472 #80143C
triadic
#801472 #728014 #147280
tetradic
#801472 #805814 #148022 #143C80
square
#801472 #805814 #148022 #143C80
split-complementary
#801472 #3C8014 #148058
monochromatic
#1A0418 #4B0C43 #801472 #B51CA1 #DF30C8

Accessibility & contrast

On white

9.29
#801472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#801472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801472
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801472#FFFFFF#000000##FFFFFF
##8014721.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#872044
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801472;
/* rgb */ color: rgb(128, 20, 114);
/* oklch */ color: oklch(42.1% 0.172 334.4);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#801472',
    950: '#000000',
  },
}
SCSS
$custom: #801472;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#801472",
  "rgb": {
    "r": 128,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 307.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.1716,
    "h": 334.4
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#801472
secondary
#3BB54B
accent
#F05038
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801472

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

Preview Lab → · Contrast checker → · Palette generator →

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