#551572#551572

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

Color values

HEX#551572
RGBrgb(85, 21, 114)
HSLhsl(281, 69%, 26%)
HSVhsv(281, 82%, 45%)
CMYKcmyk(25.4%, 81.6%, 0%, 55.3%)
CIE-LABlab(22.59, 43.74, -39.56)
CIE-LCHlch(22.59, 58.98, 317.87°)
OKLaboklab(35.24% 0.1021 -0.112)
OKLCHoklch(35.24% 0.152 312.4)
XYZxyz(7.0512, 3.6827, 16.2557)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551572 #327215
analogous
#271572 #551572 #721561
triadic
#551572 #725515 #157255
tetradic
#551572 #722715 #327215 #156172
square
#551572 #722715 #327215 #156172
split-complementary
#551572 #617215 #157227
monochromatic
#13051A #2E0B3E #551572 #7C1FA6 #A12AD8

Accessibility & contrast

On white

12.09
#551572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#551572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551572
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551572#FFFFFF#000000##FFFFFF
##5515721.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#053770
Tritanopia (blue-blind)
#522C43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551572;
/* rgb */ color: rgb(85, 21, 114);
/* oklch */ color: oklch(35.2% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#895b9b',
    500: '#551572',
    950: '#000000',
  },
}
SCSS
$custom: #551572;
$custom-light: #895b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551572",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 281.29,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.15157,
    "h": 312.4
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#551572
secondary
#5DA83B
accent
#EC3C73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551572

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

Preview Lab → · Contrast checker → · Palette generator →

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