#851B74#851B74

#851B74 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.169 H 335.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#851B74
RGBrgb(133, 27, 116)
HSLhsl(310, 66%, 31%)
HSVhsv(310, 80%, 52%)
CMYKcmyk(0%, 79.7%, 12.8%, 47.8%)
CIE-LABlab(31.88, 52.66, -25.52)
CIE-LCHlch(31.88, 58.52, 334.14°)
OKLaboklab(43.53% 0.1543 -0.0697)
OKLCHoklch(43.53% 0.169 335.7)
XYZxyz(13.2174, 7.0326, 17.1809)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B74 #1B852C
analogous
#611B85 #851B74 #851B3F
triadic
#851B74 #74851B #1B7485
tetradic
#851B74 #85611B #1B852C #1B3F85
square
#851B74 #85611B #1B852C #1B3F85
split-complementary
#851B74 #3F851B #1B8561
monochromatic
#1F061B #521148 #851B74 #B825A0 #D942C0

Accessibility & contrast

On white

8.73
#851B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#851B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B74
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B74#FFFFFF#000000##FFFFFF
##851B741.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#8C2446
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851b74;
/* rgb */ color: rgb(133, 27, 116);
/* oklch */ color: oklch(43.5% 0.169 335.7);
Tailwind
colors: {
  custom: {
    50: '#ac659c',
    500: '#851b74',
    950: '#000000',
  },
}
SCSS
$custom: #851b74;
$custom-light: #ac659c;
$custom-dark: #000000;
JSON
{
  "hex": "#851b74",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 309.623,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.16933,
    "h": 335.7
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#851B74
secondary
#44B856
accent
#E95A3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851B74

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

Preview Lab → · Contrast checker → · Palette generator →

#851B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva