#801874#801874

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

Color values

HEX#801874
RGBrgb(128, 24, 116)
HSLhsl(307, 68%, 30%)
HSVhsv(307, 81%, 50%)
CMYKcmyk(0%, 81.3%, 9.4%, 49.8%)
CIE-LABlab(30.65, 52.38, -27.52)
CIE-LCHlch(30.65, 59.17, 332.28°)
OKLaboklab(42.47% 0.1517 -0.0756)
OKLCHoklch(42.47% 0.17 333.5)
XYZxyz(12.3812, 6.5045, 17.1230)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801874 #188024
analogous
#581880 #801874 #801840
triadic
#801874 #748018 #187480
tetradic
#801874 #805818 #188024 #184080
square
#801874 #805818 #188024 #184080
split-complementary
#801874 #408018 #188058
monochromatic
#1A0517 #4C0E45 #801874 #B422A3 #DA39C7

Accessibility & contrast

On white

9.13
#801874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#801874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801874
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801874#FFFFFF#000000##FFFFFF
##8018741.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801874;
/* rgb */ color: rgb(128, 24, 116);
/* oklch */ color: oklch(42.5% 0.170 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8639c',
    500: '#801874',
    950: '#000000',
  },
}
SCSS
$custom: #801874;
$custom-light: #a8639c;
$custom-dark: #000000;
JSON
{
  "hex": "#801874",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 306.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.1695,
    "h": 333.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#801874
secondary
#40B44D
accent
#EB513D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801874

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

Preview Lab → · Contrast checker → · Palette generator →

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