#841B7D#841B7D

#841B7D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 331.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#841B7D
RGBrgb(132, 27, 125)
HSLhsl(304, 66%, 31%)
HSVhsv(304, 80%, 52%)
CMYKcmyk(0%, 79.5%, 5.3%, 48.2%)
CIE-LABlab(32.19, 53.85, -30.72)
CIE-LCHlch(32.19, 62.00, 330.29°)
OKLaboklab(43.88% 0.1536 -0.0847)
OKLCHoklch(43.88% 0.175 331.1)
XYZxyz(13.6093, 7.1712, 20.0655)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B7D #1B8422
analogous
#561B84 #841B7D #841B48
triadic
#841B7D #7D841B #1B7D84
tetradic
#841B7D #84561B #1B8422 #1B4884
square
#841B7D #84561B #1B8422 #1B4884
split-complementary
#841B7D #48841B #1B8456
monochromatic
#1E061D #51114D #841B7D #B725AD #D841CE

Accessibility & contrast

On white

8.63
#841B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B7D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B7D#FFFFFF#000000##FFFFFF
##841B7D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#8A294B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841b7d;
/* rgb */ color: rgb(132, 27, 125);
/* oklch */ color: oklch(43.9% 0.175 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab65a3',
    500: '#841b7d',
    950: '#000000',
  },
}
SCSS
$custom: #841b7d;
$custom-light: #ab65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#841b7d",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 304,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.17545,
    "h": 331.1
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#841B7D
secondary
#43B74B
accent
#E94A3F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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