#841880#841880

#841880 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.181 H 329.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#841880
RGBrgb(132, 24, 128)
HSLhsl(302, 69%, 31%)
HSVhsv(302, 82%, 52%)
CMYKcmyk(0%, 81.8%, 3%, 48.2%)
CIE-LABlab(32.07, 55.19, -32.79)
CIE-LCHlch(32.07, 64.19, 329.28°)
OKLaboklab(43.85% 0.1561 -0.0907)
OKLCHoklch(43.85% 0.181 329.8)
XYZxyz(13.7386, 7.1184, 21.0683)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841880 #18841C
analogous
#521884 #841880 #84184A
triadic
#841880 #808418 #188084
tetradic
#841880 #845218 #18841C #184A84
square
#841880 #845218 #18841C #184A84
split-complementary
#841880 #4A8418 #188452
monochromatic
#1C051C #500F4E #841880 #B821B2 #DB3BD5

Accessibility & contrast

On white

8.67
#841880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#841880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841880
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841880#FFFFFF#000000##FFFFFF
##8418801.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024283
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#89294C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841880;
/* rgb */ color: rgb(132, 24, 128);
/* oklch */ color: oklch(43.8% 0.181 329.8);
Tailwind
colors: {
  custom: {
    50: '#ab64a5',
    500: '#841880',
    950: '#000000',
  },
}
SCSS
$custom: #841880;
$custom-light: #ab64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#841880",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 302.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.18051,
    "h": 329.8
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#841880
secondary
#40B844
accent
#EC423C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #841880

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

Preview Lab → · Contrast checker → · Palette generator →

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