#551E8B#551E8B

#551E8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.168 H 301.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#551E8B
RGBrgb(85, 30, 139)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 55%)
CMYKcmyk(38.8%, 78.4%, 0%, 45.5%)
CIE-LABlab(25.93, 46.04, -49.95)
CIE-LCHlch(25.93, 67.93, 312.67°)
OKLaboklab(38.23% 0.0879 -0.1426)
OKLCHoklch(38.23% 0.168 301.7)
XYZxyz(8.8697, 4.7239, 24.8656)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551E8B #548B1E
analogous
#1E1E8B #551E8B #8B1E8A
triadic
#551E8B #8B551E #1E8B55
tetradic
#551E8B #8B1E1E #548B1E #1E8A8B
square
#551E8B #8B1E1E #548B1E #1E8A8B
split-complementary
#551E8B #8A8B1E #1E8B1E
monochromatic
#170826 #361359 #551E8B #7429BD #924BD8

Accessibility & contrast

On white

10.80
#551E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#551E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551E8B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551E8B#FFFFFF#000000##FFFFFF
##551E8B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#493B54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551e8b;
/* rgb */ color: rgb(85, 30, 139);
/* oklch */ color: oklch(38.2% 0.168 301.7);
Tailwind
colors: {
  custom: {
    50: '#8a60ae',
    500: '#551e8b',
    950: '#000000',
  },
}
SCSS
$custom: #551e8b;
$custom-light: #8a60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#551e8b",
  "rgb": {
    "r": 85,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 270.275,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.16751,
    "h": 301.7
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#551E8B
secondary
#82BB4A
accent
#E74093
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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