#801273#801273

#801273 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.174 H 334.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#801273
RGBrgb(128, 18, 115)
HSLhsl(307, 75%, 29%)
HSVhsv(307, 86%, 50%)
CMYKcmyk(0%, 85.9%, 10.2%, 49.8%)
CIE-LABlab(30.06, 53.77, -27.82)
CIE-LCHlch(30.06, 60.54, 332.65°)
OKLaboklab(42.03% 0.1563 -0.0764)
OKLCHoklch(42.03% 0.174 334)
XYZxyz(12.2130, 6.2607, 16.7816)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801273 #12801F
analogous
#561280 #801273 #80123C
triadic
#801273 #738012 #127380
tetradic
#801273 #805612 #12801F #123C80
square
#801273 #805612 #12801F #123C80
split-complementary
#801273 #3C8012 #128056
monochromatic
#1B0418 #4A0A43 #801273 #B61AA3 #E12BCC

Accessibility & contrast

On white

9.33
#801273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801273
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801273#FFFFFF#000000##FFFFFF
##8012731.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#861F44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801273;
/* rgb */ color: rgb(128, 18, 115);
/* oklch */ color: oklch(42.0% 0.174 334.0);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#801273',
    950: '#000000',
  },
}
SCSS
$custom: #801273;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#801273",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 307.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.17392,
    "h": 334
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#801273
secondary
#38B647
accent
#F24C36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801273

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

Preview Lab → · Contrast checker → · Palette generator →

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