#841874#841874

#841874 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.172 H 335.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#841874
RGBrgb(132, 24, 116)
HSLhsl(309, 69%, 31%)
HSVhsv(309, 82%, 52%)
CMYKcmyk(0%, 81.8%, 12.1%, 48.2%)
CIE-LABlab(31.40, 53.29, -26.30)
CIE-LCHlch(31.40, 59.42, 333.73°)
OKLaboklab(43.14% 0.1558 -0.0719)
OKLCHoklch(43.14% 0.172 335.2)
XYZxyz(12.9949, 6.8210, 17.1518)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841874 #188428
analogous
#5E1884 #841874 #84183E
triadic
#841874 #748418 #187484
tetradic
#841874 #845E18 #188428 #183E84
square
#841874 #845E18 #188428 #183E84
split-complementary
#841874 #3E8418 #18845E
monochromatic
#1C0519 #500F46 #841874 #B821A2 #DB3BC4

Accessibility & contrast

On white

8.88
#841874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#841874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841874
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841874#FFFFFF#000000##FFFFFF
##8418741.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184076
Deuteranopia (green-blind)
#414F72
Tritanopia (blue-blind)
#8B2246
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841874;
/* rgb */ color: rgb(132, 24, 116);
/* oklch */ color: oklch(43.1% 0.172 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab639c',
    500: '#841874',
    950: '#000000',
  },
}
SCSS
$custom: #841874;
$custom-light: #ab639c;
$custom-dark: #000000;
JSON
{
  "hex": "#841874",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 308.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.17165,
    "h": 335.2
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#841874
secondary
#40B852
accent
#EC563C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841874

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

Preview Lab → · Contrast checker → · Palette generator →

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