#841A8F#841A8F

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

Color values

HEX#841A8F
RGBrgb(132, 26, 143)
HSLhsl(294, 69%, 33%)
HSVhsv(294, 82%, 56%)
CMYKcmyk(7.7%, 81.8%, 0%, 43.9%)
CIE-LABlab(33.20, 57.20, -40.32)
CIE-LCHlch(33.20, 69.98, 324.82°)
OKLaboklab(44.94% 0.1536 -0.1127)
OKLCHoklch(44.94% 0.19 323.7)
XYZxyz(14.8426, 7.6284, 26.6719)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A8F #258F1A
analogous
#491A8F #841A8F #8F1A5F
triadic
#841A8F #8F841A #1A8F84
tetradic
#841A8F #8F491A #258F1A #1A5F8F
square
#841A8F #8F491A #258F1A #1A5F8F
split-complementary
#841A8F #5F8F1A #1A8F49
monochromatic
#240727 #54115B #841A8F #B423C3 #CF46DD

Accessibility & contrast

On white

8.32
#841A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841A8F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A8F#FFFFFF#000000##FFFFFF
##841A8F1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#863255
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841a8f;
/* rgb */ color: rgb(132, 26, 143);
/* oklch */ color: oklch(44.9% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#ac65b0',
    500: '#841a8f',
    950: '#000000',
  },
}
SCSS
$custom: #841a8f;
$custom-light: #ac65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841a8f",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 294.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.19048,
    "h": 323.7
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#841A8F
secondary
#51BF46
accent
#EC3C4C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #841A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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