#841A78#841A78

#841A78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 333.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#841A78
RGBrgb(132, 26, 120)
HSLhsl(307, 67%, 31%)
HSVhsv(307, 80%, 52%)
CMYKcmyk(0%, 80.3%, 9.1%, 48.2%)
CIE-LABlab(31.81, 53.34, -28.18)
CIE-LCHlch(31.81, 60.33, 332.16°)
OKLaboklab(43.51% 0.1544 -0.0774)
OKLCHoklch(43.51% 0.173 333.4)
XYZxyz(13.2754, 7.0016, 18.4179)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A78 #1A8426
analogous
#5B1A84 #841A78 #841A43
triadic
#841A78 #78841A #1A7884
tetradic
#841A78 #845B1A #1A8426 #1A4384
square
#841A78 #845B1A #1A8426 #1A4384
split-complementary
#841A78 #43841A #1A845B
monochromatic
#1E061B #51104A #841A78 #B724A6 #D93FC8

Accessibility & contrast

On white

8.75
#841A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#841A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A78
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A78#FFFFFF#000000##FFFFFF
##841A781.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15417A
Deuteranopia (green-blind)
#405076
Tritanopia (blue-blind)
#8A2648
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841a78;
/* rgb */ color: rgb(132, 26, 120);
/* oklch */ color: oklch(43.5% 0.173 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab649f',
    500: '#841a78',
    950: '#000000',
  },
}
SCSS
$custom: #841a78;
$custom-light: #ab649f;
$custom-dark: #000000;
JSON
{
  "hex": "#841a78",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 306.792,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.17267,
    "h": 333.4
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#841A78
secondary
#42B850
accent
#EA513E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A78

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

Preview Lab → · Contrast checker → · Palette generator →

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