#551578#551578

#551578 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.157 H 309.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#551578
RGBrgb(85, 21, 120)
HSLhsl(279, 70%, 28%)
HSVhsv(279, 83%, 47%)
CMYKcmyk(29.2%, 82.5%, 0%, 52.9%)
CIE-LABlab(23.08, 45.09, -42.62)
CIE-LCHlch(23.08, 62.04, 316.62°)
OKLaboklab(35.73% 0.1007 -0.121)
OKLCHoklch(35.73% 0.157 309.8)
XYZxyz(7.4040, 3.8238, 18.1137)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551578 #387815
analogous
#241578 #551578 #781569
triadic
#551578 #785515 #157855
tetradic
#551578 #782415 #387815 #156978
square
#551578 #782415 #387815 #156978
split-complementary
#551578 #697815 #157824
monochromatic
#12051A #300C44 #551578 #7A1EAC #9D2DDA

Accessibility & contrast

On white

11.90
#551578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#551578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551578
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551578#FFFFFF#000000##FFFFFF
##5515781.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#502E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551578;
/* rgb */ color: rgb(85, 21, 120);
/* oklch */ color: oklch(35.7% 0.157 309.8);
Tailwind
colors: {
  custom: {
    50: '#895ba0',
    500: '#551578',
    950: '#000000',
  },
}
SCSS
$custom: #551578;
$custom-light: #895ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#551578",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 278.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35734,
    "c": 0.15743,
    "h": 309.8
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#551578
secondary
#64AE3B
accent
#ED3B7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551578

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

Preview Lab → · Contrast checker → · Palette generator →

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