#801774#801774

#801774 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.170 H 333.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#801774
RGBrgb(128, 23, 116)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 82%, 50%)
CMYKcmyk(0%, 82%, 9.4%, 49.8%)
CIE-LABlab(30.55, 52.66, -27.67)
CIE-LCHlch(30.55, 59.49, 332.28°)
OKLaboklab(42.4% 0.1526 -0.076)
OKLCHoklch(42.4% 0.17 333.5)
XYZxyz(12.3610, 6.4640, 17.1163)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801774 #178023
analogous
#581780 #801774 #801740
triadic
#801774 #748017 #177480
tetradic
#801774 #805817 #178023 #174080
square
#801774 #805817 #178023 #174080
split-complementary
#801774 #408017 #178058
monochromatic
#1A0518 #4C0E45 #801774 #B420A3 #DB36C8

Accessibility & contrast

On white

9.16
#801774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#801774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801774
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801774#FFFFFF#000000##FFFFFF
##8017741.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#862345
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801774;
/* rgb */ color: rgb(128, 23, 116);
/* oklch */ color: oklch(42.4% 0.170 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8629c',
    500: '#801774',
    950: '#000000',
  },
}
SCSS
$custom: #801774;
$custom-light: #a8629c;
$custom-dark: #000000;
JSON
{
  "hex": "#801774",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 306.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.17043,
    "h": 333.5
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#801774
secondary
#3EB44C
accent
#EC503B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801774

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

Preview Lab → · Contrast checker → · Palette generator →

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