#841F88#841F88

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

Color values

HEX#841F88
RGBrgb(132, 31, 136)
HSLhsl(298, 63%, 33%)
HSVhsv(298, 77%, 53%)
CMYKcmyk(2.9%, 77.2%, 0%, 46.7%)
CIE-LABlab(33.27, 54.47, -35.87)
CIE-LCHlch(33.27, 65.22, 326.63°)
OKLaboklab(44.86% 0.15 -0.0997)
OKLCHoklch(44.86% 0.18 326.4)
XYZxyz(14.4494, 7.6641, 24.0060)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F88 #23881F
analogous
#4F1F88 #841F88 #881F58
triadic
#841F88 #88841F #1F8884
tetradic
#841F88 #884F1F #23881F #1F5888
square
#841F88 #884F1F #23881F #1F5888
split-complementary
#841F88 #58881F #1F884F
monochromatic
#230824 #541456 #841F88 #B42ABA #D14BD6

Accessibility & contrast

On white

8.29
#841F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#841F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F88
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F88#FFFFFF#000000##FFFFFF
##841F881.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#395385
Tritanopia (blue-blind)
#883152
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841f88;
/* rgb */ color: rgb(132, 31, 136);
/* oklch */ color: oklch(44.9% 0.180 326.4);
Tailwind
colors: {
  custom: {
    50: '#ab67ab',
    500: '#841f88',
    950: '#000000',
  },
}
SCSS
$custom: #841f88;
$custom-light: #ab67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#841f88",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 297.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.18009,
    "h": 326.4
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#841F88
secondary
#4EB94A
accent
#E64248
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841F88

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

Preview Lab → · Contrast checker → · Palette generator →

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