#801974#801974

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

Color values

HEX#801974
RGBrgb(128, 25, 116)
HSLhsl(307, 67%, 30%)
HSVhsv(307, 80%, 50%)
CMYKcmyk(0%, 80.5%, 9.4%, 49.8%)
CIE-LABlab(30.75, 52.09, -27.36)
CIE-LCHlch(30.75, 58.84, 332.29°)
OKLaboklab(42.54% 0.1509 -0.0751)
OKLCHoklch(42.54% 0.169 333.5)
XYZxyz(12.4022, 6.5465, 17.1300)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801974 #198025
analogous
#581980 #801974 #801941
triadic
#801974 #748019 #197480
tetradic
#801974 #805819 #198025 #194180
square
#801974 #805819 #198025 #194180
split-complementary
#801974 #418019 #198058
monochromatic
#1A0517 #4D0F46 #801974 #B323A2 #D93BC6

Accessibility & contrast

On white

9.09
#801974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#801974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801974
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801974#FFFFFF#000000##FFFFFF
##8019741.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#862446
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801974;
/* rgb */ color: rgb(128, 25, 116);
/* oklch */ color: oklch(42.5% 0.169 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8639c',
    500: '#801974',
    950: '#000000',
  },
}
SCSS
$custom: #801974;
$custom-light: #a8639c;
$custom-dark: #000000;
JSON
{
  "hex": "#801974",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 306.99,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.16854,
    "h": 333.5
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#801974
secondary
#41B44E
accent
#EA523E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801974

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

Preview Lab → · Contrast checker → · Palette generator →

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