#841F82#841F82

#841F82 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 328.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#841F82
RGBrgb(132, 31, 130)
HSLhsl(301, 62%, 32%)
HSVhsv(301, 77%, 52%)
CMYKcmyk(0%, 76.5%, 1.5%, 48.2%)
CIE-LABlab(32.92, 53.43, -32.71)
CIE-LCHlch(32.92, 62.65, 328.53°)
OKLaboklab(44.49% 0.1501 -0.0905)
OKLCHoklch(44.49% 0.175 328.9)
XYZxyz(14.0348, 7.4983, 21.8229)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F82 #1F8421
analogous
#541F84 #841F82 #841F50
triadic
#841F82 #82841F #1F8284
tetradic
#841F82 #84541F #1F8421 #1F5084
square
#841F82 #84541F #1F8421 #1F5084
split-complementary
#841F82 #50841F #1F8454
monochromatic
#210820 #521351 #841F82 #B62BB3 #D449D2

Accessibility & contrast

On white

8.40
#841F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#841F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F82
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F82#FFFFFF#000000##FFFFFF
##841F821.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4585
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#892E4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841f82;
/* rgb */ color: rgb(132, 31, 130);
/* oklch */ color: oklch(44.5% 0.175 328.9);
Tailwind
colors: {
  custom: {
    50: '#ab67a7',
    500: '#841f82',
    950: '#000000',
  },
}
SCSS
$custom: #841f82;
$custom-light: #ab67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#841f82",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 301.188,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.17527,
    "h": 328.9
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#841F82
secondary
#48B74A
accent
#E54643
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #841F82

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

Preview Lab → · Contrast checker → · Palette generator →

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