#861874#861874

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

Color values

HEX#861874
RGBrgb(134, 24, 116)
HSLhsl(310, 70%, 31%)
HSVhsv(310, 82%, 53%)
CMYKcmyk(0%, 82.1%, 13.4%, 47.5%)
CIE-LABlab(31.77, 53.75, -25.68)
CIE-LCHlch(31.77, 59.57, 334.46°)
OKLaboklab(43.48% 0.1579 -0.0701)
OKLCHoklch(43.48% 0.173 336)
XYZxyz(13.3108, 6.9838, 17.1666)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861874 #18862A
analogous
#611886 #861874 #86183D
triadic
#861874 #748618 #187486
tetradic
#861874 #866118 #18862A #183D86
square
#861874 #866118 #18862A #183D86
split-complementary
#861874 #3D8618 #188661
monochromatic
#1E051A #520F47 #861874 #BA21A1 #DC3CC2

Accessibility & contrast

On white

8.76
#861874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#861874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861874
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861874#FFFFFF#000000##FFFFFF
##8618741.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4076
Deuteranopia (green-blind)
#435072
Tritanopia (blue-blind)
#8D2146
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #861874;
/* rgb */ color: rgb(134, 24, 116);
/* oklch */ color: oklch(43.5% 0.173 336.0);
Tailwind
colors: {
  custom: {
    50: '#ad649c',
    500: '#861874',
    950: '#000000',
  },
}
SCSS
$custom: #861874;
$custom-light: #ad649c;
$custom-dark: #000000;
JSON
{
  "hex": "#861874",
  "rgb": {
    "r": 134,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 309.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.17274,
    "h": 336
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#861874
secondary
#40BA54
accent
#EC583B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861874

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

Preview Lab → · Contrast checker → · Palette generator →

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