#801275#801275

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

Color values

HEX#801275
RGBrgb(128, 18, 117)
HSLhsl(306, 75%, 29%)
HSVhsv(306, 86%, 50%)
CMYKcmyk(0%, 85.9%, 8.6%, 49.8%)
CIE-LABlab(30.17, 54.08, -28.91)
CIE-LCHlch(30.17, 61.32, 331.87°)
OKLaboklab(42.15% 0.1563 -0.0795)
OKLCHoklch(42.15% 0.175 333)
XYZxyz(12.3294, 6.3073, 17.3942)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801275 #12801D
analogous
#541280 #801275 #80123E
triadic
#801275 #758012 #127580
tetradic
#801275 #805412 #12801D #123E80
square
#801275 #805412 #12801D #123E80
split-complementary
#801275 #3E8012 #128054
monochromatic
#1B0419 #4A0A44 #801275 #B61AA6 #E12BCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801275#FFFFFF#000000##FFFFFF
##8012751.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)
#093D77
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#862145
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801275;
/* rgb */ color: rgb(128, 18, 117);
/* oklch */ color: oklch(42.1% 0.175 333.0);
Tailwind
colors: {
  custom: {
    50: '#a9619d',
    500: '#801275',
    950: '#000000',
  },
}
SCSS
$custom: #801275;
$custom-light: #a9619d;
$custom-dark: #000000;
JSON
{
  "hex": "#801275",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 306,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.17535,
    "h": 333
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#801275
secondary
#38B645
accent
#F24936
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801275

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

Preview Lab → · Contrast checker → · Palette generator →

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