#841777#841777

#841777 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.175 H 333.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#841777
RGBrgb(132, 23, 119)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 83%, 52%)
CMYKcmyk(0%, 82.6%, 9.8%, 48.2%)
CIE-LABlab(31.47, 54.02, -28.09)
CIE-LCHlch(31.47, 60.89, 332.53°)
OKLaboklab(43.25% 0.1568 -0.0771)
OKLCHoklch(43.25% 0.175 333.8)
XYZxyz(13.1520, 6.8514, 18.0790)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841777 #178424
analogous
#5A1784 #841777 #841740
triadic
#841777 #778417 #177784
tetradic
#841777 #845A17 #178424 #174084
square
#841777 #845A17 #178424 #174084
split-complementary
#841777 #408417 #17845A
monochromatic
#1C0519 #500E48 #841777 #B820A6 #DC39C9

Accessibility & contrast

On white

8.86
#841777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#841777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841777
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841777#FFFFFF#000000##FFFFFF
##8417771.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#3F4F75
Tritanopia (blue-blind)
#8A2347
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841777;
/* rgb */ color: rgb(132, 23, 119);
/* oklch */ color: oklch(43.2% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#841777',
    950: '#000000',
  },
}
SCSS
$custom: #841777;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#841777",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 307.156,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.17471,
    "h": 333.8
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#841777
secondary
#3FB84D
accent
#ED503B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841777

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

Preview Lab → · Contrast checker → · Palette generator →

#841777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva