#551D87#551D87

#551D87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.164 H 303.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#551D87
RGBrgb(85, 29, 135)
HSLhsl(272, 65%, 32%)
HSVhsv(272, 79%, 53%)
CMYKcmyk(37%, 78.5%, 0%, 47.1%)
CIE-LABlab(25.44, 45.48, -48.26)
CIE-LCHlch(25.44, 66.31, 313.30°)
OKLaboklab(37.78% 0.0898 -0.1376)
OKLCHoklch(37.78% 0.164 303.1)
XYZxyz(8.5578, 4.5593, 23.3462)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D87 #4F871D
analogous
#201D87 #551D87 #871D84
triadic
#551D87 #87551D #1D8755
tetradic
#551D87 #87201D #4F871D #1D8487
square
#551D87 #87201D #4F871D #1D8487
split-complementary
#551D87 #84871D #1D8720
monochromatic
#160722 #351255 #551D87 #7528B9 #9347D7

Accessibility & contrast

On white

10.98
#551D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#551D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551D87
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D87#FFFFFF#000000##FFFFFF
##551D871.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4B3851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551d87;
/* rgb */ color: rgb(85, 29, 135);
/* oklch */ color: oklch(37.8% 0.164 303.1);
Tailwind
colors: {
  custom: {
    50: '#8a60ab',
    500: '#551d87',
    950: '#000000',
  },
}
SCSS
$custom: #551d87;
$custom-light: #8a60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#551d87",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 271.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.16434,
    "h": 303.1
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#551D87
secondary
#7DB946
accent
#E8408F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551D87

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

Preview Lab → · Contrast checker → · Palette generator →

#551D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva