#551B87#551B87

#551B87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.166 H 303.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#551B87
RGBrgb(85, 27, 135)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 53%)
CMYKcmyk(37%, 80%, 0%, 47.1%)
CIE-LABlab(25.15, 46.31, -48.73)
CIE-LCHlch(25.15, 67.23, 313.54°)
OKLaboklab(37.58% 0.0916 -0.139)
OKLCHoklch(37.58% 0.166 303.4)
XYZxyz(8.5104, 4.4644, 23.3303)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B87 #4D871B
analogous
#1F1B87 #551B87 #871B83
triadic
#551B87 #87551B #1B8755
tetradic
#551B87 #871F1B #4D871B #1B8387
square
#551B87 #871F1B #4D871B #1B8387
split-complementary
#551B87 #83871B #1B871F
monochromatic
#150721 #351154 #551B87 #7525BA #9443D9

Accessibility & contrast

On white

11.09
#551B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#551B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551B87
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B87#FFFFFF#000000##FFFFFF
##551B871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551b87;
/* rgb */ color: rgb(85, 27, 135);
/* oklch */ color: oklch(37.6% 0.166 303.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fab',
    500: '#551b87',
    950: '#000000',
  },
}
SCSS
$custom: #551b87;
$custom-light: #8a5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#551b87",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 272.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.16646,
    "h": 303.4
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#551B87
secondary
#7BBA44
accent
#EA3E8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551B87

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

Preview Lab → · Contrast checker → · Palette generator →

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