#841879#841879

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

Color values

HEX#841879
RGBrgb(132, 24, 121)
HSLhsl(306, 69%, 31%)
HSVhsv(306, 82%, 52%)
CMYKcmyk(0%, 81.8%, 8.3%, 48.2%)
CIE-LABlab(31.67, 54.06, -29.03)
CIE-LCHlch(31.67, 61.36, 331.77°)
OKLaboklab(43.43% 0.1561 -0.0798)
OKLCHoklch(43.43% 0.175 332.9)
XYZxyz(13.2936, 6.9404, 18.7250)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841879 #188423
analogous
#591884 #841879 #841843
triadic
#841879 #798418 #187984
tetradic
#841879 #845918 #188423 #184384
square
#841879 #845918 #188423 #184384
split-complementary
#841879 #438418 #188459
monochromatic
#1C051A #500F4A #841879 #B821A8 #DB3BCB

Accessibility & contrast

On white

8.79
#841879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#841879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841879
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841879#FFFFFF#000000##FFFFFF
##8418791.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#8A2548
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841879;
/* rgb */ color: rgb(132, 24, 121);
/* oklch */ color: oklch(43.4% 0.175 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab64a0',
    500: '#841879',
    950: '#000000',
  },
}
SCSS
$custom: #841879;
$custom-light: #ab64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841879",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 306.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.17528,
    "h": 332.9
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#841879
secondary
#40B84C
accent
#EC4E3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841879

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

Preview Lab → · Contrast checker → · Palette generator →

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