#851874#851874

#851874 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.172 H 335.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#851874
RGBrgb(133, 24, 116)
HSLhsl(309, 69%, 31%)
HSVhsv(309, 82%, 52%)
CMYKcmyk(0%, 82%, 12.8%, 47.8%)
CIE-LABlab(31.58, 53.52, -25.99)
CIE-LCHlch(31.58, 59.50, 334.10°)
OKLaboklab(43.31% 0.1569 -0.071)
OKLCHoklch(43.31% 0.172 335.6)
XYZxyz(13.1521, 6.9020, 17.1592)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851874 #188529
analogous
#5F1885 #851874 #85183D
triadic
#851874 #748518 #187485
tetradic
#851874 #855F18 #188529 #183D85
square
#851874 #855F18 #188529 #183D85
split-complementary
#851874 #3D8518 #18855F
monochromatic
#1D051A #510F47 #851874 #B921A1 #DC3CC3

Accessibility & contrast

On white

8.82
#851874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#851874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851874
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851874#FFFFFF#000000##FFFFFF
##8518741.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#8C2246
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #851874;
/* rgb */ color: rgb(133, 24, 116);
/* oklch */ color: oklch(43.3% 0.172 335.6);
Tailwind
colors: {
  custom: {
    50: '#ac649c',
    500: '#851874',
    950: '#000000',
  },
}
SCSS
$custom: #851874;
$custom-light: #ac649c;
$custom-dark: #000000;
JSON
{
  "hex": "#851874",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 309.358,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.1722,
    "h": 335.6
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#851874
secondary
#40B953
accent
#EC573C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851874

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

Preview Lab → · Contrast checker → · Palette generator →

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