#841B85#841B85

#841B85 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.182 H 327.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#841B85
RGBrgb(132, 27, 133)
HSLhsl(299, 66%, 31%)
HSVhsv(299, 80%, 52%)
CMYKcmyk(0.8%, 79.7%, 0%, 47.8%)
CIE-LABlab(32.67, 55.18, -34.97)
CIE-LCHlch(32.67, 65.33, 327.63°)
OKLaboklab(44.37% 0.1535 -0.0971)
OKLCHoklch(44.37% 0.182 327.7)
XYZxyz(14.1411, 7.3839, 22.8662)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B85 #1C851B
analogous
#4F1B85 #841B85 #851B51
triadic
#841B85 #85841B #1B8584
tetradic
#841B85 #854F1B #1C851B #1B5185
square
#841B85 #854F1B #1C851B #1B5185
split-complementary
#841B85 #51851B #1B854F
monochromatic
#1F061F #521152 #841B85 #B625B8 #D742D9

Accessibility & contrast

On white

8.48
#841B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#841B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B85
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B85#FFFFFF#000000##FFFFFF
##841B851.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#882D50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841b85;
/* rgb */ color: rgb(132, 27, 133);
/* oklch */ color: oklch(44.4% 0.182 327.7);
Tailwind
colors: {
  custom: {
    50: '#ab65a9',
    500: '#841b85',
    950: '#000000',
  },
}
SCSS
$custom: #841b85;
$custom-light: #ab65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#841b85",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 299.434,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.18164,
    "h": 327.7
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#841B85
secondary
#45B844
accent
#E93F40
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B85

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

Preview Lab → · Contrast checker → · Palette generator →

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