#551D8B#551D8B

#551D8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.169 H 301.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#551D8B
RGBrgb(85, 29, 139)
HSLhsl(271, 65%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(38.8%, 79.1%, 0%, 45.5%)
CIE-LABlab(25.79, 46.47, -50.19)
CIE-LCHlch(25.79, 68.40, 312.79°)
OKLaboklab(38.13% 0.0888 -0.1433)
OKLCHoklch(38.13% 0.169 301.8)
XYZxyz(8.8447, 4.6741, 24.8573)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D8B #538B1D
analogous
#1E1D8B #551D8B #8B1D8A
triadic
#551D8B #8B551D #1D8B55
tetradic
#551D8B #8B1E1D #538B1D #1D8A8B
square
#551D8B #8B1E1D #538B1D #1D8A8B
split-complementary
#551D8B #8A8B1D #1D8B1E
monochromatic
#170826 #361258 #551D8B #7428BE #9349D9

Accessibility & contrast

On white

10.85
#551D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551D8B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D8B#FFFFFF#000000##FFFFFF
##551D8B1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#493A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551d8b;
/* rgb */ color: rgb(85, 29, 139);
/* oklch */ color: oklch(38.1% 0.169 301.8);
Tailwind
colors: {
  custom: {
    50: '#8a60ae',
    500: '#551d8b',
    950: '#000000',
  },
}
SCSS
$custom: #551d8b;
$custom-light: #8a60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#551d8b",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 270.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3813,
    "c": 0.16856,
    "h": 301.8
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#551D8B
secondary
#81BB49
accent
#E83F92
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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