#841A7C#841A7C

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

Color values

HEX#841A7C
RGBrgb(132, 26, 124)
HSLhsl(305, 67%, 31%)
HSVhsv(305, 80%, 52%)
CMYKcmyk(0%, 80.3%, 6.1%, 48.2%)
CIE-LABlab(32.04, 53.98, -30.34)
CIE-LCHlch(32.04, 61.92, 330.66°)
OKLaboklab(43.75% 0.1545 -0.0836)
OKLCHoklch(43.75% 0.176 331.6)
XYZxyz(13.5232, 7.1007, 19.7232)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A7C #1A8422
analogous
#571A84 #841A7C #841A47
triadic
#841A7C #7C841A #1A7C84
tetradic
#841A7C #84571A #1A8422 #1A4784
square
#841A7C #84571A #1A8422 #1A4784
split-complementary
#841A7C #47841A #1A8457
monochromatic
#1E061C #51104C #841A7C #B724AC #D93FCE

Accessibility & contrast

On white

8.68
#841A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841A7C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A7C#FFFFFF#000000##FFFFFF
##841A7C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#3E507A
Tritanopia (blue-blind)
#8A284B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a7c;
/* rgb */ color: rgb(132, 26, 124);
/* oklch */ color: oklch(43.7% 0.176 331.6);
Tailwind
colors: {
  custom: {
    50: '#ab65a2',
    500: '#841a7c',
    950: '#000000',
  },
}
SCSS
$custom: #841a7c;
$custom-light: #ab65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#841a7c",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 304.528,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.17566,
    "h": 331.6
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#841A7C
secondary
#42B84B
accent
#EA4B3E
background
#FAF6FA
surface
#F5EBF3
border
#CFC6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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