#841C7A#841C7A

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

Color values

HEX#841C7A
RGBrgb(132, 28, 122)
HSLhsl(306, 65%, 31%)
HSVhsv(306, 79%, 52%)
CMYKcmyk(0%, 78.8%, 7.6%, 48.2%)
CIE-LABlab(32.13, 53.06, -28.94)
CIE-LCHlch(32.13, 60.44, 331.40°)
OKLaboklab(43.78% 0.1527 -0.0796)
OKLCHoklch(43.78% 0.172 332.5)
XYZxyz(13.4439, 7.1423, 19.0791)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C7A #1C8426
analogous
#5A1C84 #841C7A #841C46
triadic
#841C7A #7A841C #1C7A84
tetradic
#841C7A #845A1C #1C8426 #1C4684
square
#841C7A #845A1C #1C8426 #1C4684
split-complementary
#841C7A #46841C #1C845A
monochromatic
#1F071D #52114B #841C7A #B627A9 #D743C9

Accessibility & contrast

On white

8.65
#841C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C7A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C7A#FFFFFF#000000##FFFFFF
##841C7A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#8A284A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841c7a;
/* rgb */ color: rgb(132, 28, 122);
/* oklch */ color: oklch(43.8% 0.172 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab65a1',
    500: '#841c7a',
    950: '#000000',
  },
}
SCSS
$custom: #841c7a;
$custom-light: #ab65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841c7a",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 305.769,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.17219,
    "h": 332.5
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#841C7A
secondary
#45B750
accent
#E85040
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #841C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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