#841A7F#841A7F

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

Color values

HEX#841A7F
RGBrgb(132, 26, 127)
HSLhsl(303, 67%, 31%)
HSVhsv(303, 80%, 52%)
CMYKcmyk(0%, 80.3%, 3.8%, 48.2%)
CIE-LABlab(32.21, 54.47, -31.95)
CIE-LCHlch(32.21, 63.15, 329.60°)
OKLaboklab(43.92% 0.1545 -0.0883)
OKLCHoklch(43.92% 0.178 330.2)
XYZxyz(13.7158, 7.1777, 20.7376)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A7F #1A841F
analogous
#541A84 #841A7F #841A4A
triadic
#841A7F #7F841A #1A7F84
tetradic
#841A7F #84541A #1A841F #1A4A84
square
#841A7F #84541A #1A841F #1A4A84
split-complementary
#841A7F #4A841A #1A8454
monochromatic
#1E061D #51104E #841A7F #B724B0 #D93FD2

Accessibility & contrast

On white

8.62
#841A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#841A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A7F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A7F#FFFFFF#000000##FFFFFF
##841A7F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#892A4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841a7f;
/* rgb */ color: rgb(132, 26, 127);
/* oklch */ color: oklch(43.9% 0.178 330.2);
Tailwind
colors: {
  custom: {
    50: '#ab65a4',
    500: '#841a7f',
    950: '#000000',
  },
}
SCSS
$custom: #841a7f;
$custom-light: #ab65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#841a7f",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 302.83,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.17794,
    "h": 330.2
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#841A7F
secondary
#42B848
accent
#EA463E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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