#551687#551687

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

Color values

HEX#551687
RGBrgb(85, 22, 135)
HSLhsl(273, 72%, 31%)
HSVhsv(273, 84%, 53%)
CMYKcmyk(37%, 83.7%, 0%, 47.1%)
CIE-LABlab(24.50, 48.21, -49.80)
CIE-LCHlch(24.50, 69.32, 314.07°)
OKLaboklab(37.12% 0.0957 -0.1421)
OKLCHoklch(37.12% 0.171 304)
XYZxyz(8.4054, 4.2544, 23.2953)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551687 #488716
analogous
#1C1687 #551687 #871680
triadic
#551687 #875516 #168755
tetradic
#551687 #871C16 #488716 #168087
square
#551687 #871C16 #488716 #168087
split-complementary
#551687 #808716 #16871C
monochromatic
#13051E #340D52 #551687 #761FBC #9539DF

Accessibility & contrast

On white

11.35
#551687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#551687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551687
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551687#FFFFFF#000000##FFFFFF
##5516871.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#4B3550
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551687;
/* rgb */ color: rgb(85, 22, 135);
/* oklch */ color: oklch(37.1% 0.171 304.0);
Tailwind
colors: {
  custom: {
    50: '#8a5dab',
    500: '#551687',
    950: '#000000',
  },
}
SCSS
$custom: #551687;
$custom-light: #8a5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#551687",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 273.451,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.1713,
    "h": 304
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#551687
secondary
#75BB3E
accent
#EF3989
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551687

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

Preview Lab → · Contrast checker → · Palette generator →

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