#841B81#841B81

#841B81 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 329.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#841B81
RGBrgb(132, 27, 129)
HSLhsl(302, 66%, 31%)
HSVhsv(302, 80%, 52%)
CMYKcmyk(0%, 79.5%, 2.3%, 48.2%)
CIE-LABlab(32.43, 54.51, -32.86)
CIE-LCHlch(32.43, 63.64, 328.92°)
OKLaboklab(44.12% 0.1536 -0.0909)
OKLCHoklch(44.12% 0.179 329.4)
XYZxyz(13.8700, 7.2755, 21.4384)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B81 #1B841E
analogous
#521B84 #841B81 #841B4C
triadic
#841B81 #81841B #1B8184
tetradic
#841B81 #84521B #1B841E #1B4C84
square
#841B81 #84521B #1B841E #1B4C84
split-complementary
#841B81 #4C841B #1B8452
monochromatic
#1E061E #51114F #841B81 #B725B3 #D841D4

Accessibility & contrast

On white

8.55
#841B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B81
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B81#FFFFFF#000000##FFFFFF
##841B811.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064384
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#892B4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841b81;
/* rgb */ color: rgb(132, 27, 129);
/* oklch */ color: oklch(44.1% 0.179 329.4);
Tailwind
colors: {
  custom: {
    50: '#ab65a6',
    500: '#841b81',
    950: '#000000',
  },
}
SCSS
$custom: #841b81;
$custom-light: #ab65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#841b81",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 301.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.17852,
    "h": 329.4
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#841B81
secondary
#43B747
accent
#E9443F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841B81

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

Preview Lab → · Contrast checker → · Palette generator →

#841B81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva