#551571#551571

#551571 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.151 H 312.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#551571
RGBrgb(85, 21, 113)
HSLhsl(282, 69%, 26%)
HSVhsv(282, 81%, 44%)
CMYKcmyk(24.8%, 81.4%, 0%, 55.7%)
CIE-LABlab(22.51, 43.52, -39.04)
CIE-LCHlch(22.51, 58.47, 318.10°)
OKLaboklab(35.16% 0.1023 -0.1105)
OKLCHoklch(35.16% 0.151 312.8)
XYZxyz(6.9946, 3.6601, 15.9576)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551571 #317115
analogous
#271571 #551571 #71155F
triadic
#551571 #715515 #157155
tetradic
#551571 #712715 #317115 #155F71
square
#551571 #712715 #317115 #155F71
split-complementary
#551571 #5F7115 #157127
monochromatic
#13051A #2E0B3D #551571 #7C1FA5 #A229D7

Accessibility & contrast

On white

12.12
#551571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#551571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551571
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551571#FFFFFF#000000##FFFFFF
##5515711.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#07376F
Tritanopia (blue-blind)
#522B43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551571;
/* rgb */ color: rgb(85, 21, 113);
/* oklch */ color: oklch(35.2% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#895b9a',
    500: '#551571',
    950: '#000000',
  },
}
SCSS
$custom: #551571;
$custom-light: #895b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#551571",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 281.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.15059,
    "h": 312.8
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#551571
secondary
#5CA73B
accent
#EB3C72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551571

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

Preview Lab → · Contrast checker → · Palette generator →

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