#841F89#841F89

#841F89 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.181 H 326.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#841F89
RGBrgb(132, 31, 137)
HSLhsl(297, 63%, 33%)
HSVhsv(297, 77%, 54%)
CMYKcmyk(3.6%, 77.4%, 0%, 46.3%)
CIE-LABlab(33.33, 54.65, -36.39)
CIE-LCHlch(33.33, 65.65, 326.34°)
OKLaboklab(44.92% 0.1499 -0.1012)
OKLCHoklch(44.92% 0.181 326)
XYZxyz(14.5208, 7.6926, 24.3821)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F89 #24891F
analogous
#4F1F89 #841F89 #891F59
triadic
#841F89 #89841F #1F8984
tetradic
#841F89 #894F1F #24891F #1F5989
square
#841F89 #894F1F #24891F #1F5989
split-complementary
#841F89 #59891F #1F894F
monochromatic
#240825 #541457 #841F89 #B42ABB #D04CD6

Accessibility & contrast

On white

8.27
#841F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#841F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F89
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F89#FFFFFF#000000##FFFFFF
##841F891.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#873253
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841f89;
/* rgb */ color: rgb(132, 31, 137);
/* oklch */ color: oklch(44.9% 0.181 326.0);
Tailwind
colors: {
  custom: {
    50: '#ab67ac',
    500: '#841f89',
    950: '#000000',
  },
}
SCSS
$custom: #841f89;
$custom-light: #ab67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#841f89",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 297.17,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.1809,
    "h": 326
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#841F89
secondary
#50B94B
accent
#E64249
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841F89

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

Preview Lab → · Contrast checker → · Palette generator →

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