#841F7A#841F7A

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

Color values

HEX#841F7A
RGBrgb(132, 31, 122)
HSLhsl(306, 62%, 32%)
HSVhsv(306, 77%, 52%)
CMYKcmyk(0%, 76.5%, 7.6%, 48.2%)
CIE-LABlab(32.46, 52.11, -28.41)
CIE-LCHlch(32.46, 59.35, 331.40°)
OKLaboklab(44.02% 0.1499 -0.0781)
OKLCHoklch(44.02% 0.169 332.5)
XYZxyz(13.5186, 7.2918, 19.1040)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F7A #1F8429
analogous
#5C1F84 #841F7A #841F47
triadic
#841F7A #7A841F #1F7A84
tetradic
#841F7A #845C1F #1F8429 #1F4784
square
#841F7A #845C1F #1F8429 #1F4784
split-complementary
#841F7A #47841F #1F845C
monochromatic
#21081E #52134C #841F7A #B62BA8 #D449C7

Accessibility & contrast

On white

8.54
#841F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F7A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F7A#FFFFFF#000000##FFFFFF
##841F7A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#415178
Tritanopia (blue-blind)
#8A2A4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841f7a;
/* rgb */ color: rgb(132, 31, 122);
/* oklch */ color: oklch(44.0% 0.169 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab66a1',
    500: '#841f7a',
    950: '#000000',
  },
}
SCSS
$custom: #841f7a;
$custom-light: #ab66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#841f7a",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 305.941,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.16903,
    "h": 332.5
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#841F7A
secondary
#48B753
accent
#E55343
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #841F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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