#841878#841878

#841878 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.175 H 333.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#841878
RGBrgb(132, 24, 120)
HSLhsl(307, 69%, 31%)
HSVhsv(307, 82%, 52%)
CMYKcmyk(0%, 81.8%, 9.1%, 48.2%)
CIE-LABlab(31.61, 53.91, -28.49)
CIE-LCHlch(31.61, 60.97, 332.15°)
OKLaboklab(43.37% 0.156 -0.0782)
OKLCHoklch(43.37% 0.175 333.4)
XYZxyz(13.2326, 6.9160, 18.4037)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841878 #188424
analogous
#5A1884 #841878 #841842
triadic
#841878 #788418 #187884
tetradic
#841878 #845A18 #188424 #184284
square
#841878 #845A18 #188424 #184284
split-complementary
#841878 #428418 #18845A
monochromatic
#1C051A #500F49 #841878 #B821A7 #DB3BCA

Accessibility & contrast

On white

8.81
#841878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#841878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841878
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841878#FFFFFF#000000##FFFFFF
##8418781.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#8A2548
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841878;
/* rgb */ color: rgb(132, 24, 120);
/* oklch */ color: oklch(43.4% 0.175 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab649f',
    500: '#841878',
    950: '#000000',
  },
}
SCSS
$custom: #841878;
$custom-light: #ab649f;
$custom-dark: #000000;
JSON
{
  "hex": "#841878",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 306.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.17455,
    "h": 333.4
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#841878
secondary
#40B84D
accent
#EC4F3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841878

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

Preview Lab → · Contrast checker → · Palette generator →

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