#841875#841875

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

Color values

HEX#841875
RGBrgb(132, 24, 117)
HSLhsl(308, 69%, 31%)
HSVhsv(308, 82%, 52%)
CMYKcmyk(0%, 81.8%, 11.4%, 48.2%)
CIE-LABlab(31.45, 53.44, -26.85)
CIE-LCHlch(31.45, 59.81, 333.33°)
OKLaboklab(43.2% 0.1559 -0.0735)
OKLCHoklch(43.2% 0.172 334.8)
XYZxyz(13.0534, 6.8443, 17.4598)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841875 #188427
analogous
#5D1884 #841875 #84183F
triadic
#841875 #758418 #187584
tetradic
#841875 #845D18 #188427 #183F84
square
#841875 #845D18 #188427 #183F84
split-complementary
#841875 #3F8418 #18845D
monochromatic
#1C0519 #500F47 #841875 #B821A3 #DB3BC5

Accessibility & contrast

On white

8.87
#841875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841875
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841875#FFFFFF#000000##FFFFFF
##8418751.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174077
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#8B2346
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841875;
/* rgb */ color: rgb(132, 24, 117);
/* oklch */ color: oklch(43.2% 0.172 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab649d',
    500: '#841875',
    950: '#000000',
  },
}
SCSS
$custom: #841875;
$custom-light: #ab649d;
$custom-dark: #000000;
JSON
{
  "hex": "#841875",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 308.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.17237,
    "h": 334.8
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#841875
secondary
#40B851
accent
#EC543C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841875

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

Preview Lab → · Contrast checker → · Palette generator →

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