#841B8C#841B8C

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

Color values

HEX#841B8C
RGBrgb(132, 27, 140)
HSLhsl(296, 68%, 33%)
HSVhsv(296, 81%, 55%)
CMYKcmyk(5.7%, 80.7%, 0%, 45.1%)
CIE-LABlab(33.10, 56.39, -38.62)
CIE-LCHlch(33.10, 68.35, 325.59°)
OKLaboklab(44.81% 0.1531 -0.1077)
OKLCHoklch(44.81% 0.187 324.9)
XYZxyz(14.6409, 7.5838, 25.4985)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B8C #238C1B
analogous
#4B1B8C #841B8C #8C1B5C
triadic
#841B8C #8C841B #1B8C84
tetradic
#841B8C #8C4B1B #238C1B #1B5C8C
square
#841B8C #8C4B1B #238C1B #1B5C8C
split-complementary
#841B8C #5C8C1B #1B8C4B
monochromatic
#230725 #541159 #841B8C #B425BF #D146DB

Accessibility & contrast

On white

8.34
#841B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841B8C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B8C#FFFFFF#000000##FFFFFF
##841B8C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841b8c;
/* rgb */ color: rgb(132, 27, 140);
/* oklch */ color: oklch(44.8% 0.187 324.9);
Tailwind
colors: {
  custom: {
    50: '#ab66ae',
    500: '#841b8c',
    950: '#000000',
  },
}
SCSS
$custom: #841b8c;
$custom-light: #ab66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#841b8c",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 295.752,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.1872,
    "h": 324.9
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#841B8C
secondary
#4EBD46
accent
#EB3D4A
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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