#841F76#841F76

#841F76 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.166 H 334.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#841F76
RGBrgb(132, 31, 118)
HSLhsl(308, 62%, 32%)
HSVhsv(308, 77%, 52%)
CMYKcmyk(0%, 76.5%, 10.6%, 48.2%)
CIE-LABlab(32.25, 51.47, -26.23)
CIE-LCHlch(32.25, 57.76, 333.00°)
OKLaboklab(43.79% 0.1497 -0.0718)
OKLCHoklch(43.79% 0.166 334.4)
XYZxyz(13.2759, 7.1947, 17.8255)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F76 #1F842D
analogous
#601F84 #841F76 #841F44
triadic
#841F76 #76841F #1F7684
tetradic
#841F76 #84601F #1F842D #1F4484
square
#841F76 #84601F #1F842D #1F4484
split-complementary
#841F76 #44841F #1F8460
monochromatic
#21081D #52134A #841F76 #B62BA2 #D449C1

Accessibility & contrast

On white

8.61
#841F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#841F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F76
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F76#FFFFFF#000000##FFFFFF
##841F761.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#8B2848
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841f76;
/* rgb */ color: rgb(132, 31, 118);
/* oklch */ color: oklch(43.8% 0.166 334.4);
Tailwind
colors: {
  custom: {
    50: '#ab669e',
    500: '#841f76',
    950: '#000000',
  },
}
SCSS
$custom: #841f76;
$custom-light: #ab669e;
$custom-dark: #000000;
JSON
{
  "hex": "#841f76",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 308.317,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.166,
    "h": 334.4
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#841F76
secondary
#48B757
accent
#E55943
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841F76

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

Preview Lab → · Contrast checker → · Palette generator →

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