#841A8E#841A8E

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

Color values

HEX#841A8E
RGBrgb(132, 26, 142)
HSLhsl(295, 69%, 33%)
HSVhsv(295, 82%, 56%)
CMYKcmyk(7%, 81.7%, 0%, 44.3%)
CIE-LABlab(33.13, 57.02, -39.81)
CIE-LCHlch(33.13, 69.54, 325.08°)
OKLaboklab(44.88% 0.1537 -0.1112)
OKLCHoklch(44.88% 0.19 324.1)
XYZxyz(14.7672, 7.5983, 26.2747)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A8E #248E1A
analogous
#4A1A8E #841A8E #8E1A5E
triadic
#841A8E #8E841A #1A8E84
tetradic
#841A8E #8E4A1A #248E1A #1A5E8E
square
#841A8E #8E4A1A #248E1A #1A5E8E
split-complementary
#841A8E #5E8E1A #1A8E4A
monochromatic
#240727 #54115A #841A8E #B423C2 #D045DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##841A8E#FFFFFF#000000##FFFFFF
##841A8E1.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)
#004691
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#873255
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841a8e;
/* rgb */ color: rgb(132, 26, 142);
/* oklch */ color: oklch(44.9% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#ac65b0',
    500: '#841a8e',
    950: '#000000',
  },
}
SCSS
$custom: #841a8e;
$custom-light: #ac65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841a8e",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 294.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.18968,
    "h": 324.1
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#841A8E
secondary
#50BE45
accent
#EC3C4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #841A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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