#841C77#841C77

#841C77 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.170 H 333.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#841C77
RGBrgb(132, 28, 119)
HSLhsl(308, 65%, 31%)
HSVhsv(308, 79%, 52%)
CMYKcmyk(0%, 78.8%, 9.8%, 48.2%)
CIE-LABlab(31.96, 52.59, -27.30)
CIE-LCHlch(31.96, 59.25, 332.56°)
OKLaboklab(43.6% 0.1526 -0.0749)
OKLCHoklch(43.6% 0.17 333.9)
XYZxyz(13.2609, 7.0691, 18.1153)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C77 #1C8429
analogous
#5D1C84 #841C77 #841C43
triadic
#841C77 #77841C #1C7784
tetradic
#841C77 #845D1C #1C8429 #1C4384
square
#841C77 #845D1C #1C8429 #1C4384
split-complementary
#841C77 #43841C #1C845D
monochromatic
#1F071C #521149 #841C77 #B627A5 #D743C5

Accessibility & contrast

On white

8.70
#841C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#841C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C77
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C77#FFFFFF#000000##FFFFFF
##841C771.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#415075
Tritanopia (blue-blind)
#8A2748
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841c77;
/* rgb */ color: rgb(132, 28, 119);
/* oklch */ color: oklch(43.6% 0.170 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab659e',
    500: '#841c77',
    950: '#000000',
  },
}
SCSS
$custom: #841c77;
$custom-light: #ab659e;
$custom-dark: #000000;
JSON
{
  "hex": "#841c77",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 307.5,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.16995,
    "h": 333.9
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#841C77
secondary
#45B753
accent
#E85540
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841C77

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

Preview Lab → · Contrast checker → · Palette generator →

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