#551987#551987

#551987 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.168 H 303.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#551987
RGBrgb(85, 25, 135)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 81%, 53%)
CMYKcmyk(37%, 81.5%, 0%, 47.1%)
CIE-LABlab(24.88, 47.10, -49.18)
CIE-LCHlch(24.88, 68.10, 313.77°)
OKLaboklab(37.39% 0.0933 -0.1403)
OKLCHoklch(37.39% 0.168 303.6)
XYZxyz(8.4661, 4.3758, 23.3156)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551987 #4B8719
analogous
#1E1987 #551987 #871982
triadic
#551987 #875519 #198755
tetradic
#551987 #871E19 #4B8719 #198287
square
#551987 #871E19 #4B8719 #198287
split-complementary
#551987 #828719 #19871E
monochromatic
#140620 #340F53 #551987 #7623BB #943FDB

Accessibility & contrast

On white

11.20
#551987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#551987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551987
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551987#FFFFFF#000000##FFFFFF
##5519871.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#4B3750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551987;
/* rgb */ color: rgb(85, 25, 135);
/* oklch */ color: oklch(37.4% 0.168 303.6);
Tailwind
colors: {
  custom: {
    50: '#8a5eab',
    500: '#551987',
    950: '#000000',
  },
}
SCSS
$custom: #551987;
$custom-light: #8a5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#551987",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 272.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.16848,
    "h": 303.6
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#551987
secondary
#78BA41
accent
#EC3C8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551987

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

Preview Lab → · Contrast checker → · Palette generator →

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