#551D8E#551D8E

#551D8E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.172 H 300.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#551D8E
RGBrgb(85, 29, 142)
HSLhsl(270, 66%, 34%)
HSVhsv(270, 80%, 56%)
CMYKcmyk(40.1%, 79.6%, 0%, 44.3%)
CIE-LABlab(26.05, 47.22, -51.63)
CIE-LCHlch(26.05, 69.96, 312.45°)
OKLaboklab(38.4% 0.088 -0.1475)
OKLCHoklch(38.4% 0.172 300.8)
XYZxyz(9.0670, 4.7629, 26.0276)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551D8E #568E1D
analogous
#1D1D8E #551D8E #8D1D8E
triadic
#551D8E #8E551D #1D8E55
tetradic
#551D8E #8E1D1D #568E1D #1D8E8D
square
#551D8E #8E1D1D #568E1D #1D8E8D
split-complementary
#551D8E #8E8D1D #1D8E1D
monochromatic
#180828 #37135B #551D8E #7327C1 #924BDA

Accessibility & contrast

On white

10.75
#551D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#551D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551D8E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551D8E#FFFFFF#000000##FFFFFF
##551D8E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#483B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551d8e;
/* rgb */ color: rgb(85, 29, 142);
/* oklch */ color: oklch(38.4% 0.172 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b60b0',
    500: '#551d8e',
    950: '#000000',
  },
}
SCSS
$custom: #551d8e;
$custom-light: #8b60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#551d8e",
  "rgb": {
    "r": 85,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 269.735,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.17174,
    "h": 300.8
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#551D8E
secondary
#84BD4A
accent
#E93F95
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #551D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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