#841E7B#841E7B

#841E7B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 332.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#841E7B
RGBrgb(132, 30, 123)
HSLhsl(305, 63%, 32%)
HSVhsv(305, 77%, 52%)
CMYKcmyk(0%, 77.3%, 6.8%, 48.2%)
CIE-LABlab(32.40, 52.60, -29.13)
CIE-LCHlch(32.40, 60.13, 331.02°)
OKLaboklab(43.99% 0.1509 -0.0802)
OKLCHoklch(43.99% 0.171 332)
XYZxyz(13.5552, 7.2653, 19.4235)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E7B #1E8427
analogous
#5A1E84 #841E7B #841E48
triadic
#841E7B #7B841E #1E7B84
tetradic
#841E7B #845A1E #1E8427 #1E4884
square
#841E7B #845A1E #1E8427 #1E4884
split-complementary
#841E7B #48841E #1E845A
monochromatic
#20071E #52134D #841E7B #B629A9 #D547C9

Accessibility & contrast

On white

8.56
#841E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E7B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E7B#FFFFFF#000000##FFFFFF
##841E7B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#405179
Tritanopia (blue-blind)
#8A2A4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841e7b;
/* rgb */ color: rgb(132, 30, 123);
/* oklch */ color: oklch(44.0% 0.171 332.0);
Tailwind
colors: {
  custom: {
    50: '#ab66a1',
    500: '#841e7b',
    950: '#000000',
  },
}
SCSS
$custom: #841e7b;
$custom-light: #ab66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841e7b",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 305.294,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.17088,
    "h": 332
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#841E7B
secondary
#47B751
accent
#E65042
background
#FAF6FA
surface
#F5EBF3
border
#CFC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #841E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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