#551788#551788

#551788 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.171 H 303.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#551788
RGBrgb(85, 23, 136)
HSLhsl(273, 71%, 31%)
HSVhsv(273, 83%, 53%)
CMYKcmyk(37.5%, 83.1%, 0%, 46.7%)
CIE-LABlab(24.71, 48.09, -50.08)
CIE-LCHlch(24.71, 69.43, 313.84°)
OKLaboklab(37.3% 0.0946 -0.1429)
OKLCHoklch(37.3% 0.171 303.5)
XYZxyz(8.4956, 4.3217, 23.6744)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551788 #4A8817
analogous
#1C1788 #551788 #881782
triadic
#551788 #885517 #178855
tetradic
#551788 #881C17 #4A8817 #178288
square
#551788 #881C17 #4A8817 #178288
split-complementary
#551788 #828817 #17881C
monochromatic
#14051F #340E54 #551788 #7620BC #953BDE

Accessibility & contrast

On white

11.26
#551788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#551788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551788
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551788#FFFFFF#000000##FFFFFF
##5517881.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#4A3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551788;
/* rgb */ color: rgb(85, 23, 136);
/* oklch */ color: oklch(37.3% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b5dac',
    500: '#551788',
    950: '#000000',
  },
}
SCSS
$custom: #551788;
$custom-light: #8b5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#551788",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 272.92,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.1714,
    "h": 303.5
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#551788
secondary
#77BC3F
accent
#EE3A8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551788

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

Preview Lab → · Contrast checker → · Palette generator →

#551788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva