#841F9C#841F9C

#841F9C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.197 H 318.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#841F9C
RGBrgb(132, 31, 156)
HSLhsl(288, 67%, 37%)
HSVhsv(288, 80%, 61%)
CMYKcmyk(15.4%, 80.1%, 0%, 38.8%)
CIE-LABlab(34.57, 58.12, -46.06)
CIE-LCHlch(34.57, 74.16, 321.61°)
OKLaboklab(46.19% 0.148 -0.1295)
OKLCHoklch(46.19% 0.197 318.8)
XYZxyz(16.0056, 8.2866, 32.2024)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F9C #379C1F
analogous
#461F9C #841F9C #9C1F76
triadic
#841F9C #9C841F #1F9C84
tetradic
#841F9C #9C461F #379C1F #1F769C
square
#841F9C #9C461F #379C1F #1F769C
split-complementary
#841F9C #769C1F #1F9C46
monochromatic
#2E0B36 #591569 #841F9C #AF29CF #C458DE

Accessibility & contrast

On white

7.90
#841F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#841F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F9C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F9C#FFFFFF#000000##FFFFFF
##841F9C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#285499
Tritanopia (blue-blind)
#843B5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841f9c;
/* rgb */ color: rgb(132, 31, 156);
/* oklch */ color: oklch(46.2% 0.197 318.8);
Tailwind
colors: {
  custom: {
    50: '#ac68ba',
    500: '#841f9c',
    950: '#000000',
  },
}
SCSS
$custom: #841f9c;
$custom-light: #ac68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#841f9c",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 288.48,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.1967,
    "h": 318.8
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#841F9C
secondary
#6AC155
accent
#EA3E5F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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