#551E87#551E87

#551E87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.163 H 303.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#551E87
RGBrgb(85, 30, 135)
HSLhsl(271, 64%, 32%)
HSVhsv(271, 78%, 53%)
CMYKcmyk(37%, 77.8%, 0%, 47.1%)
CIE-LABlab(25.59, 45.05, -48.01)
CIE-LCHlch(25.59, 65.84, 313.18°)
OKLaboklab(37.89% 0.0889 -0.1369)
OKLCHoklch(37.89% 0.163 303)
XYZxyz(8.5827, 4.6091, 23.3545)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551E87 #50871E
analogous
#211E87 #551E87 #871E84
triadic
#551E87 #87551E #1E8755
tetradic
#551E87 #87211E #50871E #1E8487
square
#551E87 #87211E #50871E #1E8487
split-complementary
#551E87 #84871E #1E8721
monochromatic
#160823 #351355 #551E87 #7529B9 #9349D7

Accessibility & contrast

On white

10.93
#551E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#551E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551E87
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551E87#FFFFFF#000000##FFFFFF
##551E871.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551e87;
/* rgb */ color: rgb(85, 30, 135);
/* oklch */ color: oklch(37.9% 0.163 303.0);
Tailwind
colors: {
  custom: {
    50: '#8a60ab',
    500: '#551e87',
    950: '#000000',
  },
}
SCSS
$custom: #551e87;
$custom-light: #8a60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#551e87",
  "rgb": {
    "r": 85,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 271.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37887,
    "c": 0.16324,
    "h": 303
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#551E87
secondary
#7EB948
accent
#E74190
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551E87

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

Preview Lab → · Contrast checker → · Palette generator →

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