#841F8A#841F8A

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

Color values

HEX#841F8A
RGBrgb(132, 31, 138)
HSLhsl(297, 63%, 33%)
HSVhsv(297, 78%, 54%)
CMYKcmyk(4.3%, 77.5%, 0%, 45.9%)
CIE-LABlab(33.40, 54.82, -36.91)
CIE-LCHlch(33.40, 66.09, 326.05°)
OKLaboklab(44.98% 0.1499 -0.1028)
OKLCHoklch(44.98% 0.182 325.6)
XYZxyz(14.5928, 7.7215, 24.7616)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F8A #258A1F
analogous
#4F1F8A #841F8A #8A1F5A
triadic
#841F8A #8A841F #1F8A84
tetradic
#841F8A #8A4F1F #258A1F #1F5A8A
square
#841F8A #8A4F1F #258A1F #1F5A8A
split-complementary
#841F8A #5A8A1F #1F8A4F
monochromatic
#240926 #541458 #841F8A #B42ABC #CF4CD7

Accessibility & contrast

On white

8.25
#841F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#841F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F8A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F8A#FFFFFF#000000##FFFFFF
##841F8A1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#375387
Tritanopia (blue-blind)
#873254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841f8a;
/* rgb */ color: rgb(132, 31, 138);
/* oklch */ color: oklch(45.0% 0.182 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab67ad',
    500: '#841f8a',
    950: '#000000',
  },
}
SCSS
$custom: #841f8a;
$custom-light: #ab67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#841f8a",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 296.636,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.18172,
    "h": 325.6
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#841F8A
secondary
#51BA4B
accent
#E6414B
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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