#841E7E#841E7E

#841E7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.173 H 330.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#841E7E
RGBrgb(132, 30, 126)
HSLhsl(304, 63%, 32%)
HSVhsv(304, 77%, 52%)
CMYKcmyk(0%, 77.3%, 4.5%, 48.2%)
CIE-LABlab(32.57, 53.09, -30.75)
CIE-LCHlch(32.57, 61.35, 329.92°)
OKLaboklab(44.17% 0.151 -0.0848)
OKLCHoklch(44.17% 0.173 330.7)
XYZxyz(13.7459, 7.3415, 20.4277)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E7E #1E8424
analogous
#571E84 #841E7E #841E4B
triadic
#841E7E #7E841E #1E7E84
tetradic
#841E7E #84571E #1E8424 #1E4B84
square
#841E7E #84571E #1E8424 #1E4B84
split-complementary
#841E7E #4B841E #1E8457
monochromatic
#20071F #52134E #841E7E #B629AE #D547CD

Accessibility & contrast

On white

8.51
#841E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#841E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E7E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E7E#FFFFFF#000000##FFFFFF
##841E7E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#892C4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841e7e;
/* rgb */ color: rgb(132, 30, 126);
/* oklch */ color: oklch(44.2% 0.173 330.7);
Tailwind
colors: {
  custom: {
    50: '#ab66a4',
    500: '#841e7e',
    950: '#000000',
  },
}
SCSS
$custom: #841e7e;
$custom-light: #ab66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#841e7e",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 303.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44166,
    "c": 0.17319,
    "h": 330.7
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#841E7E
secondary
#47B74E
accent
#E64B42
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #841E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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