#841F99#841F99

#841F99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.194 H 319.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#841F99
RGBrgb(132, 31, 153)
HSLhsl(290, 66%, 36%)
HSVhsv(290, 80%, 60%)
CMYKcmyk(13.7%, 79.7%, 0%, 40%)
CIE-LABlab(34.37, 57.56, -44.56)
CIE-LCHlch(34.37, 72.79, 322.25°)
OKLaboklab(45.98% 0.1485 -0.1251)
OKLCHoklch(45.98% 0.194 319.9)
XYZxyz(15.7548, 8.1862, 30.8811)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F99 #34991F
analogous
#471F99 #841F99 #991F71
triadic
#841F99 #99841F #1F9984
tetradic
#841F99 #99471F #34991F #1F7199
square
#841F99 #99471F #34991F #1F7199
split-complementary
#841F99 #71991F #1F9947
monochromatic
#2C0A33 #581566 #841F99 #B029CC #C556DD

Accessibility & contrast

On white

7.96
#841F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#841F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F99
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F99#FFFFFF#000000##FFFFFF
##841F991.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#843A5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841f99;
/* rgb */ color: rgb(132, 31, 153);
/* oklch */ color: oklch(46.0% 0.194 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac68b8',
    500: '#841f99',
    950: '#000000',
  },
}
SCSS
$custom: #841f99;
$custom-light: #ac68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#841f99",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 289.672,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.19417,
    "h": 319.9
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#841F99
secondary
#66C054
accent
#E93F5C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F99

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

Preview Lab → · Contrast checker → · Palette generator →

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