#551887#551887

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

Color values

HEX#551887
RGBrgb(85, 24, 135)
HSLhsl(273, 70%, 31%)
HSVhsv(273, 82%, 53%)
CMYKcmyk(37%, 82.2%, 0%, 47.1%)
CIE-LABlab(24.75, 47.49, -49.39)
CIE-LCHlch(24.75, 68.52, 313.87°)
OKLaboklab(37.3% 0.0941 -0.1409)
OKLCHoklch(37.3% 0.169 303.7)
XYZxyz(8.4451, 4.3338, 23.3086)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551887 #4A8718
analogous
#1D1887 #551887 #871881
triadic
#551887 #875518 #188755
tetradic
#551887 #871D18 #4A8718 #188187
square
#551887 #871D18 #4A8718 #188187
split-complementary
#551887 #818718 #18871D
monochromatic
#14061F #340F53 #551887 #7621BB #953DDC

Accessibility & contrast

On white

11.25
#551887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#551887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551887
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551887#FFFFFF#000000##FFFFFF
##5518871.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551887;
/* rgb */ color: rgb(85, 24, 135);
/* oklch */ color: oklch(37.3% 0.169 303.7);
Tailwind
colors: {
  custom: {
    50: '#8a5dab',
    500: '#551887',
    950: '#000000',
  },
}
SCSS
$custom: #551887;
$custom-light: #8a5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#551887",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 272.973,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37296,
    "c": 0.16944,
    "h": 303.7
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#551887
secondary
#77BB40
accent
#ED3B8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551887

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

Preview Lab → · Contrast checker → · Palette generator →

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