#551B89#551B89

#551B89 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.169 H 302.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#551B89
RGBrgb(85, 27, 137)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(38%, 80.3%, 0%, 46.3%)
CIE-LABlab(25.32, 46.80, -49.70)
CIE-LCHlch(25.32, 68.26, 313.28°)
OKLaboklab(37.75% 0.0911 -0.1418)
OKLCHoklch(37.75% 0.169 302.7)
XYZxyz(8.6525, 4.5213, 24.0789)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B89 #4F891B
analogous
#1E1B89 #551B89 #891B86
triadic
#551B89 #89551B #1B8955
tetradic
#551B89 #891E1B #4F891B #1B8689
square
#551B89 #891E1B #4F891B #1B8689
split-complementary
#551B89 #86891B #1B891E
monochromatic
#160723 #351156 #551B89 #7525BC #9344DA

Accessibility & contrast

On white

11.03
#551B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#551B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551B89
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B89#FFFFFF#000000##FFFFFF
##551B891.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4A3852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551b89;
/* rgb */ color: rgb(85, 27, 137);
/* oklch */ color: oklch(37.8% 0.169 302.7);
Tailwind
colors: {
  custom: {
    50: '#8a5fac',
    500: '#551b89',
    950: '#000000',
  },
}
SCSS
$custom: #551b89;
$custom-light: #8a5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#551b89",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 271.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.16854,
    "h": 302.7
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#551B89
secondary
#7DBC44
accent
#EA3E8F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551B89

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

Preview Lab → · Contrast checker → · Palette generator →

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