#801174#801174

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

Color values

HEX#801174
RGBrgb(128, 17, 116)
HSLhsl(306, 77%, 28%)
HSVhsv(306, 87%, 50%)
CMYKcmyk(0%, 86.7%, 9.4%, 49.8%)
CIE-LABlab(30.04, 54.15, -28.49)
CIE-LCHlch(30.04, 61.18, 332.25°)
OKLaboklab(42.04% 0.1569 -0.0783)
OKLCHoklch(42.04% 0.175 333.5)
XYZxyz(12.2550, 6.2522, 17.0810)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801174 #11801D
analogous
#541180 #801174 #80113D
triadic
#801174 #748011 #117480
tetradic
#801174 #805411 #11801D #113D80
square
#801174 #805411 #11801D #113D80
split-complementary
#801174 #3D8011 #118054
monochromatic
#1B0418 #4A0A43 #801174 #B618A5 #E329CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801174#FFFFFF#000000##FFFFFF
##8011741.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)
#0A3D76
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#861F44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801174;
/* rgb */ color: rgb(128, 17, 116);
/* oklch */ color: oklch(42.0% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#a9619c',
    500: '#801174',
    950: '#000000',
  },
}
SCSS
$custom: #801174;
$custom-light: #a9619c;
$custom-dark: #000000;
JSON
{
  "hex": "#801174",
  "rgb": {
    "r": 128,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 306.486,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.17539,
    "h": 333.5
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#801174
secondary
#37B645
accent
#F34935
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801174

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

Preview Lab → · Contrast checker → · Palette generator →

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