#841BB4#841BB4

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

Color values

HEX#841BB4
RGBrgb(132, 27, 180)
HSLhsl(281, 74%, 41%)
HSVhsv(281, 85%, 71%)
CMYKcmyk(26.7%, 85%, 0%, 29.4%)
CIE-LABlab(35.96, 63.95, -58.23)
CIE-LCHlch(35.96, 86.49, 317.68°)
OKLaboklab(47.72% 0.1458 -0.1652)
OKLCHoklch(47.72% 0.22 311.4)
XYZxyz(18.1443, 8.9852, 43.9497)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841BB4 #4BB41B
analogous
#371BB4 #841BB4 #B41B98
triadic
#841BB4 #B4841B #1BB484
tetradic
#841BB4 #B4371B #4BB41B #1B98B4
square
#841BB4 #B4371B #4BB41B #1B98B4
split-complementary
#841BB4 #98B41B #1BB437
monochromatic
#360B4A #5D137F #841BB4 #A72DDF #BE62E7

Accessibility & contrast

On white

7.51
#841BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#841BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841BB4
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841BB4#FFFFFF#000000##FFFFFF
##841BB41.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.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: #841bb4;
/* rgb */ color: rgb(132, 27, 180);
/* oklch */ color: oklch(47.7% 0.220 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad68cb',
    500: '#841bb4',
    950: '#000000',
  },
}
SCSS
$custom: #841bb4;
$custom-light: #ad68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#841bb4",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 281.176,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.22037,
    "h": 311.4
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#841BB4
secondary
#81CC5F
accent
#F13771
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #841BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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