#841C8C#841C8C

#841C8C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.186 H 324.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#841C8C
RGBrgb(132, 28, 140)
HSLhsl(296, 67%, 33%)
HSVhsv(296, 80%, 55%)
CMYKcmyk(5.7%, 80%, 0%, 45.1%)
CIE-LABlab(33.20, 56.10, -38.46)
CIE-LCHlch(33.20, 68.01, 325.57°)
OKLaboklab(44.89% 0.1523 -0.1072)
OKLCHoklch(44.89% 0.186 324.8)
XYZxyz(14.6642, 7.6305, 25.5063)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C8C #248C1C
analogous
#4C1C8C #841C8C #8C1C5C
triadic
#841C8C #8C841C #1C8C84
tetradic
#841C8C #8C4C1C #248C1C #1C5C8C
square
#841C8C #8C4C1C #248C1C #1C5C8C
split-complementary
#841C8C #5C8C1C #1C8C4C
monochromatic
#240826 #541259 #841C8C #B426BF #D048DA

Accessibility & contrast

On white

8.31
#841C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841C8C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C8C#FFFFFF#000000##FFFFFF
##841C8C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#873254
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841c8c;
/* rgb */ color: rgb(132, 28, 140);
/* oklch */ color: oklch(44.9% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#ab66ae',
    500: '#841c8c',
    950: '#000000',
  },
}
SCSS
$custom: #841c8c;
$custom-light: #ab66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#841c8c",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 295.714,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.18627,
    "h": 324.8
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#841C8C
secondary
#50BC48
accent
#EA3E4A
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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