#841C7D#841C7D

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

Color values

HEX#841C7D
RGBrgb(132, 28, 125)
HSLhsl(304, 65%, 31%)
HSVhsv(304, 79%, 52%)
CMYKcmyk(0%, 78.8%, 5.3%, 48.2%)
CIE-LABlab(32.30, 53.55, -30.56)
CIE-LCHlch(32.30, 61.65, 330.29°)
OKLaboklab(43.95% 0.1528 -0.0843)
OKLCHoklch(43.95% 0.174 331.1)
XYZxyz(13.6326, 7.2178, 20.0732)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C7D #1C8423
analogous
#571C84 #841C7D #841C49
triadic
#841C7D #7D841C #1C7D84
tetradic
#841C7D #84571C #1C8423 #1C4984
square
#841C7D #84571C #1C8423 #1C4984
split-complementary
#841C7D #49841C #1C8457
monochromatic
#1F071D #52114D #841C7D #B627AD #D743CD

Accessibility & contrast

On white

8.59
#841C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841C7D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C7D#FFFFFF#000000##FFFFFF
##841C7D1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841c7d;
/* rgb */ color: rgb(132, 28, 125);
/* oklch */ color: oklch(44.0% 0.174 331.1);
Tailwind
colors: {
  custom: {
    50: '#ab65a3',
    500: '#841c7d',
    950: '#000000',
  },
}
SCSS
$custom: #841c7d;
$custom-light: #ab65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#841c7d",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 304.038,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.17447,
    "h": 331.1
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#841C7D
secondary
#45B74C
accent
#E84B40
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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