#841B74#841B74

#841B74 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 335.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#841B74
RGBrgb(132, 27, 116)
HSLhsl(309, 66%, 31%)
HSVhsv(309, 80%, 52%)
CMYKcmyk(0%, 79.5%, 12.1%, 48.2%)
CIE-LABlab(31.70, 52.43, -25.82)
CIE-LCHlch(31.70, 58.44, 333.77°)
OKLaboklab(43.36% 0.1533 -0.0706)
OKLCHoklch(43.36% 0.169 335.3)
XYZxyz(13.0602, 6.9515, 17.1736)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B74 #1B842B
analogous
#5F1B84 #841B74 #841B3F
triadic
#841B74 #74841B #1B7484
tetradic
#841B74 #845F1B #1B842B #1B3F84
square
#841B74 #845F1B #1B842B #1B3F84
split-complementary
#841B74 #3F841B #1B845F
monochromatic
#1E061B #511147 #841B74 #B725A1 #D841C1

Accessibility & contrast

On white

8.79
#841B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#841B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##841B74#FFFFFF#000000##FFFFFF
##841B741.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)
#1B4176
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#8B2446
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841b74;
/* rgb */ color: rgb(132, 27, 116);
/* oklch */ color: oklch(43.4% 0.169 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab659c',
    500: '#841b74',
    950: '#000000',
  },
}
SCSS
$custom: #841b74;
$custom-light: #ab659c;
$custom-dark: #000000;
JSON
{
  "hex": "#841b74",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 309.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.16876,
    "h": 335.3
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#841B74
secondary
#43B755
accent
#E9593F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B74

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

Preview Lab → · Contrast checker → · Palette generator →

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