#551871#551871

#551871 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.147 H 312.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#551871
RGBrgb(85, 24, 113)
HSLhsl(281, 65%, 27%)
HSVhsv(281, 79%, 44%)
CMYKcmyk(24.8%, 78.8%, 0%, 55.7%)
CIE-LABlab(22.92, 42.35, -38.39)
CIE-LCHlch(22.92, 57.16, 317.81°)
OKLaboklab(35.45% 0.0995 -0.1086)
OKLCHoklch(35.45% 0.147 312.5)
XYZxyz(7.0530, 3.7770, 15.9771)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551871 #347118
analogous
#291871 #551871 #711861
triadic
#551871 #715518 #187155
tetradic
#551871 #712918 #347118 #186171
square
#551871 #712918 #347118 #186171
split-complementary
#551871 #617118 #187129
monochromatic
#130519 #2F0D3F #551871 #7B23A3 #A030D3

Accessibility & contrast

On white

11.96
#551871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#551871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551871
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551871#FFFFFF#000000##FFFFFF
##5518711.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#0C386F
Tritanopia (blue-blind)
#522D43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551871;
/* rgb */ color: rgb(85, 24, 113);
/* oklch */ color: oklch(35.4% 0.147 312.5);
Tailwind
colors: {
  custom: {
    50: '#885c9a',
    500: '#551871',
    950: '#000000',
  },
}
SCSS
$custom: #551871;
$custom-light: #885c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#551871",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 281.124,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.14725,
    "h": 312.5
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#551871
secondary
#5FA63E
accent
#E84075
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551871

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

Preview Lab → · Contrast checker → · Palette generator →

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