#551F87#551F87

#551F87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.162 H 302.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#551F87
RGBrgb(85, 31, 135)
HSLhsl(271, 63%, 33%)
HSVhsv(271, 77%, 53%)
CMYKcmyk(37%, 77%, 0%, 47.1%)
CIE-LABlab(25.74, 44.61, -47.76)
CIE-LCHlch(25.74, 65.35, 313.05°)
OKLaboklab(38% 0.088 -0.1362)
OKLCHoklch(38% 0.162 302.9)
XYZxyz(8.6084, 4.6605, 23.3630)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F87 #51871F
analogous
#211F87 #551F87 #871F85
triadic
#551F87 #87551F #1F8755
tetradic
#551F87 #87211F #51871F #1F8587
square
#551F87 #87211F #51871F #1F8587
split-complementary
#551F87 #85871F #1F8721
monochromatic
#160823 #361455 #551F87 #742AB9 #934BD6

Accessibility & contrast

On white

10.87
#551F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#551F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F87
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F87#FFFFFF#000000##FFFFFF
##551F871.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4B3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551f87;
/* rgb */ color: rgb(85, 31, 135);
/* oklch */ color: oklch(38.0% 0.162 302.9);
Tailwind
colors: {
  custom: {
    50: '#8a61ab',
    500: '#551f87',
    950: '#000000',
  },
}
SCSS
$custom: #551f87;
$custom-light: #8a61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#551f87",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 271.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.16211,
    "h": 302.9
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#551F87
secondary
#7FB84A
accent
#E64291
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F87

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

Preview Lab → · Contrast checker → · Palette generator →

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