#801272#801272

#801272 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.173 H 334.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#801272
RGBrgb(128, 18, 114)
HSLhsl(308, 75%, 29%)
HSVhsv(308, 86%, 50%)
CMYKcmyk(0%, 85.9%, 10.9%, 49.8%)
CIE-LABlab(30.00, 53.62, -27.27)
CIE-LCHlch(30.00, 60.15, 333.04°)
OKLaboklab(41.97% 0.1562 -0.0748)
OKLCHoklch(41.97% 0.173 334.4)
XYZxyz(12.1558, 6.2378, 16.4801)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801272 #128020
analogous
#571280 #801272 #80123B
triadic
#801272 #728012 #127280
tetradic
#801272 #805712 #128020 #123B80
square
#801272 #805712 #128020 #123B80
split-complementary
#801272 #3B8012 #128057
monochromatic
#1B0418 #4A0A42 #801272 #B61AA2 #E12BCA

Accessibility & contrast

On white

9.34
#801272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#801272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801272
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801272#FFFFFF#000000##FFFFFF
##8012721.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#871F43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801272;
/* rgb */ color: rgb(128, 18, 114);
/* oklch */ color: oklch(42.0% 0.173 334.4);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#801272',
    950: '#000000',
  },
}
SCSS
$custom: #801272;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#801272",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 307.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.17321,
    "h": 334.4
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#801272
secondary
#38B648
accent
#F24E36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801272

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

Preview Lab → · Contrast checker → · Palette generator →

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