#841E8A#841E8A

#841E8A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.183 H 325.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#841E8A
RGBrgb(132, 30, 138)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 54%)
CMYKcmyk(4.3%, 78.3%, 0%, 45.9%)
CIE-LABlab(33.29, 55.14, -37.09)
CIE-LCHlch(33.29, 66.45, 326.07°)
OKLaboklab(44.91% 0.1508 -0.1033)
OKLCHoklch(44.91% 0.183 325.6)
XYZxyz(14.5671, 7.6700, 24.7530)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E8A #248A1E
analogous
#4E1E8A #841E8A #8A1E5A
triadic
#841E8A #8A841E #1E8A84
tetradic
#841E8A #8A4E1E #248A1E #1E5A8A
square
#841E8A #8A4E1E #248A1E #1E5A8A
split-complementary
#841E8A #5A8A1E #1E8A4E
monochromatic
#240825 #541358 #841E8A #B429BC #D04BD8

Accessibility & contrast

On white

8.29
#841E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E8A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E8A#FFFFFF#000000##FFFFFF
##841E8A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#873253
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841e8a;
/* rgb */ color: rgb(132, 30, 138);
/* oklch */ color: oklch(44.9% 0.183 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab67ad',
    500: '#841e8a',
    950: '#000000',
  },
}
SCSS
$custom: #841e8a;
$custom-light: #ab67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841e8a",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 296.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.18272,
    "h": 325.6
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#841E8A
secondary
#50BA4A
accent
#E7414A
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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