#841877#841877

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

Color values

HEX#841877
RGBrgb(132, 24, 119)
HSLhsl(307, 69%, 31%)
HSVhsv(307, 82%, 52%)
CMYKcmyk(0%, 81.8%, 9.8%, 48.2%)
CIE-LABlab(31.56, 53.75, -27.94)
CIE-LCHlch(31.56, 60.58, 332.53°)
OKLaboklab(43.31% 0.156 -0.0767)
OKLCHoklch(43.31% 0.174 333.8)
XYZxyz(13.1723, 6.8919, 18.0857)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841877 #188425
analogous
#5B1884 #841877 #841841
triadic
#841877 #778418 #187784
tetradic
#841877 #845B18 #188425 #184184
square
#841877 #845B18 #188425 #184184
split-complementary
#841877 #418418 #18845B
monochromatic
#1C051A #500F48 #841877 #B821A6 #DB3BC8

Accessibility & contrast

On white

8.83
#841877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841877
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841877#FFFFFF#000000##FFFFFF
##8418771.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#8A2447
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841877;
/* rgb */ color: rgb(132, 24, 119);
/* oklch */ color: oklch(43.3% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#841877',
    950: '#000000',
  },
}
SCSS
$custom: #841877;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#841877",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 307.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.17382,
    "h": 333.8
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#841877
secondary
#40B84E
accent
#EC513C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841877

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

Preview Lab → · Contrast checker → · Palette generator →

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