#841876#841876

#841876 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 334.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#841876
RGBrgb(132, 24, 118)
HSLhsl(308, 69%, 31%)
HSVhsv(308, 82%, 52%)
CMYKcmyk(0%, 81.8%, 10.6%, 48.2%)
CIE-LABlab(31.50, 53.60, -27.39)
CIE-LCHlch(31.50, 60.19, 332.93°)
OKLaboklab(43.26% 0.156 -0.0751)
OKLCHoklch(43.26% 0.173 334.3)
XYZxyz(13.1125, 6.8680, 17.7711)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841876 #188426
analogous
#5C1884 #841876 #841840
triadic
#841876 #768418 #187684
tetradic
#841876 #845C18 #188426 #184084
square
#841876 #845C18 #188426 #184084
split-complementary
#841876 #408418 #18845C
monochromatic
#1C0519 #500F48 #841876 #B821A4 #DB3BC7

Accessibility & contrast

On white

8.85
#841876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#841876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841876
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841876#FFFFFF#000000##FFFFFF
##8418761.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#405074
Tritanopia (blue-blind)
#8B2347
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841876;
/* rgb */ color: rgb(132, 24, 118);
/* oklch */ color: oklch(43.3% 0.173 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#841876',
    950: '#000000',
  },
}
SCSS
$custom: #841876;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#841876",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 307.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.17309,
    "h": 334.3
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#841876
secondary
#40B84F
accent
#EC533C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841876

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

Preview Lab → · Contrast checker → · Palette generator →

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