#841C8D#841C8D

#841C8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.187 H 324.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#841C8D
RGBrgb(132, 28, 141)
HSLhsl(295, 67%, 33%)
HSVhsv(295, 80%, 55%)
CMYKcmyk(6.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(33.26, 56.27, -38.98)
CIE-LCHlch(33.26, 68.45, 325.29°)
OKLaboklab(44.95% 0.1522 -0.1088)
OKLCHoklch(44.95% 0.187 324.5)
XYZxyz(14.7383, 7.6601, 25.8964)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C8D #258D1C
analogous
#4B1C8D #841C8D #8D1C5D
triadic
#841C8D #8D841C #1C8D84
tetradic
#841C8D #8D4B1C #258D1C #1C5D8D
square
#841C8D #8D4B1C #258D1C #1C5D8D
split-complementary
#841C8D #5D8D1C #1C8D4B
monochromatic
#240827 #54125A #841C8D #B426C0 #CF49DB

Accessibility & contrast

On white

8.29
#841C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#841C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C8D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C8D#FFFFFF#000000##FFFFFF
##841C8D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#873255
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841c8d;
/* rgb */ color: rgb(132, 28, 141);
/* oklch */ color: oklch(45.0% 0.187 324.5);
Tailwind
colors: {
  custom: {
    50: '#ab66af',
    500: '#841c8d',
    950: '#000000',
  },
}
SCSS
$custom: #841c8d;
$custom-light: #ab66af;
$custom-dark: #000000;
JSON
{
  "hex": "#841c8d",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 295.221,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.18707,
    "h": 324.5
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#841C8D
secondary
#51BD48
accent
#EA3E4C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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