#551B8B#551B8B

#551B8B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 302.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#551B8B
RGBrgb(85, 27, 139)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 81%, 55%)
CMYKcmyk(38.8%, 80.6%, 0%, 45.5%)
CIE-LABlab(25.50, 47.29, -50.66)
CIE-LCHlch(25.50, 69.30, 313.03°)
OKLaboklab(37.93% 0.0905 -0.1446)
OKLCHoklch(37.93% 0.171 302)
XYZxyz(8.7973, 4.5792, 24.8415)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B8B #518B1B
analogous
#1D1B8B #551B8B #8B1B89
triadic
#551B8B #8B551B #1B8B55
tetradic
#551B8B #8B1D1B #518B1B #1B898B
square
#551B8B #8B1D1B #518B1B #1B898B
split-complementary
#551B8B #898B1B #1B8B1D
monochromatic
#160725 #361158 #551B8B #7425BE #9345DB

Accessibility & contrast

On white

10.96
#551B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#551B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551B8B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B8B#FFFFFF#000000##FFFFFF
##551B8B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#493953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551b8b;
/* rgb */ color: rgb(85, 27, 139);
/* oklch */ color: oklch(37.9% 0.171 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fae',
    500: '#551b8b',
    950: '#000000',
  },
}
SCSS
$custom: #551b8b;
$custom-light: #8b5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#551b8b",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 271.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.17062,
    "h": 302
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#551B8B
secondary
#7FBC45
accent
#EA3D91
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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