#841F84#841F84

#841F84 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 328.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#841F84
RGBrgb(132, 31, 132)
HSLhsl(300, 62%, 32%)
HSVhsv(300, 77%, 52%)
CMYKcmyk(0%, 76.5%, 0%, 48.2%)
CIE-LABlab(33.03, 53.78, -33.77)
CIE-LCHlch(33.03, 63.50, 327.88°)
OKLaboklab(44.61% 0.1501 -0.0936)
OKLCHoklch(44.61% 0.177 328)
XYZxyz(14.1704, 7.5525, 22.5367)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F84 #1F841F
analogous
#521F84 #841F84 #841F52
triadic
#841F84 #84841F #1F8484
tetradic
#841F84 #84521F #1F841F #1F5284
square
#841F84 #84521F #1F841F #1F5284
split-complementary
#841F84 #52841F #1F8452
monochromatic
#210821 #521352 #841F84 #B62BB6 #D449D4

Accessibility & contrast

On white

8.37
#841F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#841F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F84
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F84#FFFFFF#000000##FFFFFF
##841F841.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#882F50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841f84;
/* rgb */ color: rgb(132, 31, 132);
/* oklch */ color: oklch(44.6% 0.177 328.0);
Tailwind
colors: {
  custom: {
    50: '#ab67a8',
    500: '#841f84',
    950: '#000000',
  },
}
SCSS
$custom: #841f84;
$custom-light: #ab67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#841f84",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 300,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.17687,
    "h": 328
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#841F84
secondary
#48B748
accent
#E54343
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #841F84

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

Preview Lab → · Contrast checker → · Palette generator →

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