#841F9B#841F9B

#841F9B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.196 H 319.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#841F9B
RGBrgb(132, 31, 155)
HSLhsl(289, 67%, 36%)
HSVhsv(289, 80%, 61%)
CMYKcmyk(14.8%, 80%, 0%, 39.2%)
CIE-LABlab(34.50, 57.93, -45.56)
CIE-LCHlch(34.50, 73.70, 321.82°)
OKLaboklab(46.12% 0.1482 -0.128)
OKLCHoklch(46.12% 0.196 319.2)
XYZxyz(15.9213, 8.2529, 31.7583)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F9B #369B1F
analogous
#461F9B #841F9B #9B1F74
triadic
#841F9B #9B841F #1F9B84
tetradic
#841F9B #9B461F #369B1F #1F749B
square
#841F9B #9B461F #369B1F #1F749B
split-complementary
#841F9B #749B1F #1F9B46
monochromatic
#2D0B35 #591568 #841F9B #AF29CE #C457DD

Accessibility & contrast

On white

7.92
#841F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#841F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F9B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F9B#FFFFFF#000000##FFFFFF
##841F9B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#295498
Tritanopia (blue-blind)
#843B5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841f9b;
/* rgb */ color: rgb(132, 31, 155);
/* oklch */ color: oklch(46.1% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#ac68b9',
    500: '#841f9b',
    950: '#000000',
  },
}
SCSS
$custom: #841f9b;
$custom-light: #ac68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#841f9b",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 288.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.19585,
    "h": 319.2
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#841F9B
secondary
#69C155
accent
#EA3E5E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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