#551D8A#551D8A

#551D8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.168 H 302.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#551D8A
RGBrgb(85, 29, 138)
HSLhsl(271, 65%, 33%)
HSVhsv(271, 79%, 54%)
CMYKcmyk(38.4%, 79%, 0%, 45.9%)
CIE-LABlab(25.70, 46.22, -49.71)
CIE-LCHlch(25.70, 67.88, 312.92°)
OKLaboklab(38.04% 0.0891 -0.1419)
OKLCHoklch(38.04% 0.168 302.1)
XYZxyz(8.7720, 4.6450, 24.4743)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D8A #528A1D
analogous
#1F1D8A #551D8A #8A1D88
triadic
#551D8A #8A551D #1D8A55
tetradic
#551D8A #8A1F1D #528A1D #1D888A
square
#551D8A #8A1F1D #528A1D #1D888A
split-complementary
#551D8A #888A1D #1D8A1F
monochromatic
#170825 #361257 #551D8A #7428BD #9349D9

Accessibility & contrast

On white

10.89
#551D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#551D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551D8A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D8A#FFFFFF#000000##FFFFFF
##551D8A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#4A3A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551d8a;
/* rgb */ color: rgb(85, 29, 138);
/* oklch */ color: oklch(38.0% 0.168 302.1);
Tailwind
colors: {
  custom: {
    50: '#8a60ad',
    500: '#551d8a',
    950: '#000000',
  },
}
SCSS
$custom: #551d8a;
$custom-light: #8a60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#551d8a",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 270.826,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.16751,
    "h": 302.1
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#551D8A
secondary
#80BB48
accent
#E84092
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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