#841F77#841F77

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

Color values

HEX#841F77
RGBrgb(132, 31, 119)
HSLhsl(308, 62%, 32%)
HSVhsv(308, 77%, 52%)
CMYKcmyk(0%, 76.5%, 9.8%, 48.2%)
CIE-LABlab(32.30, 51.63, -26.78)
CIE-LCHlch(32.30, 58.16, 332.59°)
OKLaboklab(43.85% 0.1497 -0.0734)
OKLCHoklch(43.85% 0.167 333.9)
XYZxyz(13.3356, 7.2186, 18.1402)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F77 #1F842C
analogous
#5F1F84 #841F77 #841F45
triadic
#841F77 #77841F #1F7784
tetradic
#841F77 #845F1F #1F842C #1F4584
square
#841F77 #845F1F #1F842C #1F4584
split-complementary
#841F77 #45841F #1F845F
monochromatic
#21081E #52134A #841F77 #B62BA4 #D449C2

Accessibility & contrast

On white

8.59
#841F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841F77
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F77#FFFFFF#000000##FFFFFF
##841F771.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4379
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#8A2949
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841f77;
/* rgb */ color: rgb(132, 31, 119);
/* oklch */ color: oklch(43.8% 0.167 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab669e',
    500: '#841f77',
    950: '#000000',
  },
}
SCSS
$custom: #841f77;
$custom-light: #ab669e;
$custom-dark: #000000;
JSON
{
  "hex": "#841f77",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 307.723,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.16675,
    "h": 333.9
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#841F77
secondary
#48B756
accent
#E55843
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841F77

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

Preview Lab → · Contrast checker → · Palette generator →

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