#841F74#841F74

#841F74 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.165 H 335.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#841F74
RGBrgb(132, 31, 116)
HSLhsl(310, 62%, 32%)
HSVhsv(310, 77%, 52%)
CMYKcmyk(0%, 76.5%, 12.1%, 48.2%)
CIE-LABlab(32.14, 51.15, -25.13)
CIE-LCHlch(32.14, 56.99, 333.84°)
OKLaboklab(43.68% 0.1495 -0.0686)
OKLCHoklch(43.68% 0.165 335.3)
XYZxyz(13.1583, 7.1476, 17.2062)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F74 #1F842F
analogous
#621F84 #841F74 #841F42
triadic
#841F74 #74841F #1F7484
tetradic
#841F74 #84621F #1F842F #1F4284
square
#841F74 #84621F #1F842F #1F4284
split-complementary
#841F74 #42841F #1F8462
monochromatic
#21081D #521348 #841F74 #B62BA0 #D449BE

Accessibility & contrast

On white

8.64
#841F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#841F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F74
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F74#FFFFFF#000000##FFFFFF
##841F741.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#8B2747
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841f74;
/* rgb */ color: rgb(132, 31, 116);
/* oklch */ color: oklch(43.7% 0.165 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab669c',
    500: '#841f74',
    950: '#000000',
  },
}
SCSS
$custom: #841f74;
$custom-light: #ab669c;
$custom-dark: #000000;
JSON
{
  "hex": "#841f74",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 309.505,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.16451,
    "h": 335.3
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#841F74
secondary
#48B75A
accent
#E55C43
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841F74

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

Preview Lab → · Contrast checker → · Palette generator →

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