#841C7E#841C7E

#841C7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.175 H 330.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#841C7E
RGBrgb(132, 28, 126)
HSLhsl(303, 65%, 31%)
HSVhsv(303, 79%, 52%)
CMYKcmyk(0%, 78.8%, 4.5%, 48.2%)
CIE-LABlab(32.35, 53.71, -31.09)
CIE-LCHlch(32.35, 62.06, 329.93°)
OKLaboklab(44.01% 0.1528 -0.0858)
OKLCHoklch(44.01% 0.175 330.7)
XYZxyz(13.6968, 7.2435, 20.4114)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C7E #1C8422
analogous
#561C84 #841C7E #841C4A
triadic
#841C7E #7E841C #1C7E84
tetradic
#841C7E #84561C #1C8422 #1C4A84
square
#841C7E #84561C #1C8422 #1C4A84
split-complementary
#841C7E #4A841C #1C8456
monochromatic
#1F071E #52114E #841C7E #B627AE #D743CF

Accessibility & contrast

On white

8.58
#841C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C7E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C7E#FFFFFF#000000##FFFFFF
##841C7E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4381
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#892A4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841c7e;
/* rgb */ color: rgb(132, 28, 126);
/* oklch */ color: oklch(44.0% 0.175 330.7);
Tailwind
colors: {
  custom: {
    50: '#ab65a4',
    500: '#841c7e',
    950: '#000000',
  },
}
SCSS
$custom: #841c7e;
$custom-light: #ab65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#841c7e",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 303.462,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.17523,
    "h": 330.7
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#841C7E
secondary
#45B74B
accent
#E84A40
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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