#841F9F#841F9F

#841F9F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 317.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#841F9F
RGBrgb(132, 31, 159)
HSLhsl(287, 67%, 37%)
HSVhsv(287, 81%, 62%)
CMYKcmyk(17%, 80.5%, 0%, 37.6%)
CIE-LABlab(34.78, 58.70, -47.54)
CIE-LCHlch(34.78, 75.53, 320.99°)
OKLaboklab(46.41% 0.1476 -0.1339)
OKLCHoklch(46.41% 0.199 317.8)
XYZxyz(16.2628, 8.3895, 33.5569)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F9F #3A9F1F
analogous
#441F9F #841F9F #9F1F7A
triadic
#841F9F #9F841F #1F9F84
tetradic
#841F9F #9F441F #3A9F1F #1F7A9F
square
#841F9F #9F441F #3A9F1F #1F7A9F
split-complementary
#841F9F #7A9F1F #1F9F44
monochromatic
#2F0B39 #59156C #841F9F #AF29D2 #C35ADF

Accessibility & contrast

On white

7.84
#841F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#841F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F9F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F9F#FFFFFF#000000##FFFFFF
##841F9F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#24559C
Tritanopia (blue-blind)
#833C60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841f9f;
/* rgb */ color: rgb(132, 31, 159);
/* oklch */ color: oklch(46.4% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#ac68bc',
    500: '#841f9f',
    950: '#000000',
  },
}
SCSS
$custom: #841f9f;
$custom-light: #ac68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#841f9f",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 287.344,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.19924,
    "h": 317.8
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#841F9F
secondary
#6EC357
accent
#EA3E62
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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