#841579#841579

#841579 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.178 H 332.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#841579
RGBrgb(132, 21, 121)
HSLhsl(306, 73%, 30%)
HSVhsv(306, 84%, 52%)
CMYKcmyk(0%, 84.1%, 8.3%, 48.2%)
CIE-LABlab(31.40, 54.84, -29.45)
CIE-LCHlch(31.40, 62.25, 331.76°)
OKLaboklab(43.24% 0.1583 -0.081)
OKLCHoklch(43.24% 0.178 332.9)
XYZxyz(13.2352, 6.8235, 18.7055)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841579 #158420
analogous
#581584 #841579 #841541
triadic
#841579 #798415 #157984
tetradic
#841579 #845815 #158420 #154184
square
#841579 #845815 #158420 #154184
split-complementary
#841579 #418415 #158458
monochromatic
#1A0418 #4F0D49 #841579 #B91DA9 #DF35CE

Accessibility & contrast

On white

8.88
#841579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#841579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841579
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841579#FFFFFF#000000##FFFFFF
##8415791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407C
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#8A2348
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841579;
/* rgb */ color: rgb(132, 21, 121);
/* oklch */ color: oklch(43.2% 0.178 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab63a0',
    500: '#841579',
    950: '#000000',
  },
}
SCSS
$custom: #841579;
$custom-light: #ab63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841579",
  "rgb": {
    "r": 132,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 305.946,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.17787,
    "h": 332.9
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#841579
secondary
#3CB949
accent
#EF4B39
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #841579

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

Preview Lab → · Contrast checker → · Palette generator →

#841579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva