#841F79#841F79

#841F79 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.168 H 333.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#841F79
RGBrgb(132, 31, 121)
HSLhsl(307, 62%, 32%)
HSVhsv(307, 77%, 52%)
CMYKcmyk(0%, 76.5%, 8.3%, 48.2%)
CIE-LABlab(32.41, 51.95, -27.87)
CIE-LCHlch(32.41, 58.95, 331.79°)
OKLaboklab(43.96% 0.1499 -0.0765)
OKLCHoklch(43.96% 0.168 333)
XYZxyz(13.4570, 7.2671, 18.7794)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F79 #1F842A
analogous
#5D1F84 #841F79 #841F46
triadic
#841F79 #79841F #1F7984
tetradic
#841F79 #845D1F #1F842A #1F4684
square
#841F79 #845D1F #1F842A #1F4684
split-complementary
#841F79 #46841F #1F845D
monochromatic
#21081E #52134C #841F79 #B62BA6 #D449C5

Accessibility & contrast

On white

8.56
#841F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#841F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F79
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F79#FFFFFF#000000##FFFFFF
##841F791.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#8A2A4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841f79;
/* rgb */ color: rgb(132, 31, 121);
/* oklch */ color: oklch(44.0% 0.168 333.0);
Tailwind
colors: {
  custom: {
    50: '#ab66a0',
    500: '#841f79',
    950: '#000000',
  },
}
SCSS
$custom: #841f79;
$custom-light: #ab66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#841f79",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 306.535,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.16826,
    "h": 333
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#841F79
secondary
#48B754
accent
#E55443
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841F79

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

Preview Lab → · Contrast checker → · Palette generator →

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