#841D7F#841D7F

#841D7F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.175 H 330.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#841D7F
RGBrgb(132, 29, 127)
HSLhsl(303, 64%, 32%)
HSVhsv(303, 78%, 52%)
CMYKcmyk(0%, 78%, 3.8%, 48.2%)
CIE-LABlab(32.52, 53.57, -31.46)
CIE-LCHlch(32.52, 62.12, 329.58°)
OKLaboklab(44.15% 0.1519 -0.0869)
OKLCHoklch(44.15% 0.175 330.2)
XYZxyz(13.7858, 7.3177, 20.7609)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D7F #1D8422
analogous
#561D84 #841D7F #841D4C
triadic
#841D7F #7F841D #1D7F84
tetradic
#841D7F #84561D #1D8422 #1D4C84
square
#841D7F #84561D #1D8422 #1D4C84
split-complementary
#841D7F #4C841D #1D8456
monochromatic
#20071E #52124F #841D7F #B628AF #D645CF

Accessibility & contrast

On white

8.52
#841D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D7F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D7F#FFFFFF#000000##FFFFFF
##841D7F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4482
Deuteranopia (green-blind)
#3D517D
Tritanopia (blue-blind)
#892C4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841d7f;
/* rgb */ color: rgb(132, 29, 127);
/* oklch */ color: oklch(44.1% 0.175 330.2);
Tailwind
colors: {
  custom: {
    50: '#ab66a4',
    500: '#841d7f',
    950: '#000000',
  },
}
SCSS
$custom: #841d7f;
$custom-light: #ab66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#841d7f",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 302.913,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.175,
    "h": 330.2
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#841D7F
secondary
#46B74B
accent
#E74941
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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