#841FB4#841FB4

#841FB4 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.217 H 311.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#841FB4
RGBrgb(132, 31, 180)
HSLhsl(281, 71%, 41%)
HSVhsv(281, 83%, 71%)
CMYKcmyk(26.7%, 82.8%, 0%, 29.4%)
CIE-LABlab(36.33, 62.85, -57.62)
CIE-LCHlch(36.33, 85.26, 317.49°)
OKLaboklab(47.98% 0.1432 -0.1635)
OKLCHoklch(47.98% 0.217 311.2)
XYZxyz(18.2423, 9.1813, 43.9824)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FB4 #4FB41F
analogous
#3A1FB4 #841FB4 #B41F9A
triadic
#841FB4 #B4841F #1FB484
tetradic
#841FB4 #B43A1F #4FB41F #1F9AB4
square
#841FB4 #B43A1F #4FB41F #1F9AB4
split-complementary
#841FB4 #9AB41F #1FB43A
monochromatic
#370D4C #5E1680 #841FB4 #A634DC #BD68E5

Accessibility & contrast

On white

7.40
#841FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#841FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FB4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FB4#FFFFFF#000000##FFFFFF
##841FB41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#7E466C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #841fb4;
/* rgb */ color: rgb(132, 31, 180);
/* oklch */ color: oklch(48.0% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad69cb',
    500: '#841fb4',
    950: '#000000',
  },
}
SCSS
$custom: #841fb4;
$custom-light: #ad69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#841fb4",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 280.671,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.21731,
    "h": 311.2
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#841FB4
secondary
#85CB64
accent
#ED3A74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #841FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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