#841CB4#841CB4

#841CB4 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.8% C 0.220 H 311.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#841CB4
RGBrgb(132, 28, 180)
HSLhsl(281, 73%, 41%)
HSVhsv(281, 84%, 71%)
CMYKcmyk(26.7%, 84.4%, 0%, 29.4%)
CIE-LABlab(36.05, 63.69, -58.08)
CIE-LCHlch(36.05, 86.19, 317.64°)
OKLaboklab(47.78% 0.1452 -0.1648)
OKLCHoklch(47.78% 0.22 311.4)
XYZxyz(18.1676, 9.0318, 43.9574)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841CB4 #4CB41C
analogous
#381CB4 #841CB4 #B41C98
triadic
#841CB4 #B4841C #1CB484
tetradic
#841CB4 #B4381C #4CB41C #1C98B4
square
#841CB4 #B4381C #4CB41C #1C98B4
split-complementary
#841CB4 #98B41C #1CB438
monochromatic
#360C4A #5D147F #841CB4 #A72FDF #BD64E7

Accessibility & contrast

On white

7.48
#841CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#841CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841CB4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841CB4#FFFFFF#000000##FFFFFF
##841CB41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#7E456B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #841cb4;
/* rgb */ color: rgb(132, 28, 180);
/* oklch */ color: oklch(47.8% 0.220 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad68cb',
    500: '#841cb4',
    950: '#000000',
  },
}
SCSS
$custom: #841cb4;
$custom-light: #ad68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#841cb4",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 281.053,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.21964,
    "h": 311.4
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#841CB4
secondary
#82CC60
accent
#F03872
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #841CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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