#841789#841789

#841789 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.188 H 326.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#841789
RGBrgb(132, 23, 137)
HSLhsl(297, 71%, 31%)
HSVhsv(297, 83%, 54%)
CMYKcmyk(3.6%, 83.2%, 0%, 46.3%)
CIE-LABlab(32.54, 56.95, -37.67)
CIE-LCHlch(32.54, 68.28, 326.52°)
OKLaboklab(44.35% 0.1563 -0.1049)
OKLCHoklch(44.35% 0.188 326.1)
XYZxyz(14.3372, 7.3255, 24.3209)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841789 #1C8917
analogous
#4B1789 #841789 #891755
triadic
#841789 #898417 #178984
tetradic
#841789 #894B17 #1C8917 #175589
square
#841789 #894B17 #1C8917 #175589
split-complementary
#841789 #558917 #17894B
monochromatic
#1F0520 #520E55 #841789 #B620BD #D73CDE

Accessibility & contrast

On white

8.52
#841789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##841789#FFFFFF#000000##FFFFFF
##8417891.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)
#00448C
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#882E51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #841789;
/* rgb */ color: rgb(132, 23, 137);
/* oklch */ color: oklch(44.4% 0.188 326.1);
Tailwind
colors: {
  custom: {
    50: '#ac64ac',
    500: '#841789',
    950: '#000000',
  },
}
SCSS
$custom: #841789;
$custom-light: #ac64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#841789",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 297.368,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44353,
    "c": 0.18827,
    "h": 326.1
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#841789
secondary
#45BD3F
accent
#EE3A42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841789

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

Preview Lab → · Contrast checker → · Palette generator →

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