#551579#551579

#551579 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.158 H 309.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#551579
RGBrgb(85, 21, 121)
HSLhsl(278, 70%, 28%)
HSVhsv(278, 83%, 47%)
CMYKcmyk(29.8%, 82.6%, 0%, 52.5%)
CIE-LABlab(23.16, 45.32, -43.12)
CIE-LCHlch(23.16, 62.55, 316.42°)
OKLaboklab(35.82% 0.1005 -0.1225)
OKLCHoklch(35.82% 0.158 309.4)
XYZxyz(7.4650, 3.8483, 18.4350)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551579 #397915
analogous
#231579 #551579 #79156B
triadic
#551579 #795515 #157955
tetradic
#551579 #792315 #397915 #156B79
square
#551579 #792315 #397915 #156B79
split-complementary
#551579 #6B7915 #157923
monochromatic
#12051A #300C45 #551579 #7A1EAD #9C2EDB

Accessibility & contrast

On white

11.87
#551579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#551579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551579
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551579#FFFFFF#000000##FFFFFF
##5515791.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#502F47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551579;
/* rgb */ color: rgb(85, 21, 121);
/* oklch */ color: oklch(35.8% 0.158 309.4);
Tailwind
colors: {
  custom: {
    50: '#895ba0',
    500: '#551579',
    950: '#000000',
  },
}
SCSS
$custom: #551579;
$custom-light: #895ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#551579",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 278.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.15841,
    "h": 309.4
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#551579
secondary
#65AF3B
accent
#ED3B7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551579

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

Preview Lab → · Contrast checker → · Palette generator →

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