#841687#841687

#841687 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.188 H 327.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#841687
RGBrgb(132, 22, 135)
HSLhsl(298, 72%, 31%)
HSVhsv(298, 84%, 53%)
CMYKcmyk(2.2%, 83.7%, 0%, 47.1%)
CIE-LABlab(32.32, 56.86, -36.76)
CIE-LCHlch(32.32, 67.71, 327.12°)
OKLaboklab(44.16% 0.1572 -0.1023)
OKLCHoklch(44.16% 0.188 327)
XYZxyz(14.1756, 7.2297, 23.5658)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841687 #198716
analogous
#4B1687 #841687 #871651
triadic
#841687 #878416 #168784
tetradic
#841687 #874B16 #198716 #165187
square
#841687 #874B16 #198716 #165187
split-complementary
#841687 #518716 #16874B
monochromatic
#1D051E #510D52 #841687 #B71FBC #DA39DF

Accessibility & contrast

On white

8.59
#841687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841687
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841687#FFFFFF#000000##FFFFFF
##8416871.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#882C50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841687;
/* rgb */ color: rgb(132, 22, 135);
/* oklch */ color: oklch(44.2% 0.188 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac64aa',
    500: '#841687',
    950: '#000000',
  },
}
SCSS
$custom: #841687;
$custom-light: #ac64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#841687",
  "rgb": {
    "r": 132,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 298.407,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.18753,
    "h": 327
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#841687
secondary
#41BB3E
accent
#EF393E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841687

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

Preview Lab → · Contrast checker → · Palette generator →

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