#841A7D#841A7D

#841A7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 331.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#841A7D
RGBrgb(132, 26, 125)
HSLhsl(304, 67%, 31%)
HSVhsv(304, 80%, 52%)
CMYKcmyk(0%, 80.3%, 5.3%, 48.2%)
CIE-LABlab(32.09, 54.14, -30.88)
CIE-LCHlch(32.09, 62.33, 330.30°)
OKLaboklab(43.8% 0.1545 -0.0852)
OKLCHoklch(43.8% 0.176 331.1)
XYZxyz(13.5868, 7.1261, 20.0580)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A7D #1A8421
analogous
#561A84 #841A7D #841A48
triadic
#841A7D #7D841A #1A7D84
tetradic
#841A7D #84561A #1A8421 #1A4884
square
#841A7D #84561A #1A8421 #1A4884
split-complementary
#841A7D #48841A #1A8456
monochromatic
#1E061C #51104D #841A7D #B724AD #D93FCF

Accessibility & contrast

On white

8.66
#841A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#841A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A7D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A7D#FFFFFF#000000##FFFFFF
##841A7D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#8A294B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a7d;
/* rgb */ color: rgb(132, 26, 125);
/* oklch */ color: oklch(43.8% 0.176 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab65a3',
    500: '#841a7d',
    950: '#000000',
  },
}
SCSS
$custom: #841a7d;
$custom-light: #ab65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#841a7d",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 303.962,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.17641,
    "h": 331.1
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#841A7D
secondary
#42B84A
accent
#EA493E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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