#841C8B#841C8B

#841C8B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 325.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#841C8B
RGBrgb(132, 28, 139)
HSLhsl(296, 66%, 33%)
HSVhsv(296, 80%, 55%)
CMYKcmyk(5%, 79.9%, 0%, 45.5%)
CIE-LABlab(33.14, 55.92, -37.94)
CIE-LCHlch(33.14, 67.58, 325.84°)
OKLaboklab(44.82% 0.1524 -0.1057)
OKLCHoklch(44.82% 0.185 325.2)
XYZxyz(14.5908, 7.6011, 25.1197)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C8B #238B1C
analogous
#4C1C8B #841C8B #8B1C5B
triadic
#841C8B #8B841C #1C8B84
tetradic
#841C8B #8B4C1C #238B1C #1C5B8B
square
#841C8B #8B4C1C #238B1C #1C5B8B
split-complementary
#841C8B #5B8B1C #1C8B4C
monochromatic
#230725 #541258 #841C8B #B426BE #D147DA

Accessibility & contrast

On white

8.33
#841C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#841C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C8B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C8B#FFFFFF#000000##FFFFFF
##841C8B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#873154
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841c8b;
/* rgb */ color: rgb(132, 28, 139);
/* oklch */ color: oklch(44.8% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#ab66ad',
    500: '#841c8b',
    950: '#000000',
  },
}
SCSS
$custom: #841c8b;
$custom-light: #ab66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841c8b",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 296.216,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.18547,
    "h": 325.2
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#841C8B
secondary
#4EBC47
accent
#E93E49
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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