#551568#551568

#551568 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.142 H 317.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#551568
RGBrgb(85, 21, 104)
HSLhsl(286, 66%, 25%)
HSVhsv(286, 80%, 41%)
CMYKcmyk(18.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(21.83, 41.56, -34.31)
CIE-LCHlch(21.83, 53.90, 320.45°)
OKLaboklab(34.46% 0.1039 -0.0966)
OKLCHoklch(34.46% 0.142 317.1)
XYZxyz(6.5128, 3.4674, 13.4202)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551568 #286815
analogous
#2C1568 #551568 #681552
triadic
#551568 #685515 #156855
tetradic
#551568 #682C15 #286815 #155268
square
#551568 #682C15 #286815 #155268
split-complementary
#551568 #526815 #15682C
monochromatic
#150519 #2B0B35 #551568 #7F1F9B #A82ACE

Accessibility & contrast

On white

12.40
#551568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#551568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551568
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551568#FFFFFF#000000##FFFFFF
##5515681.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#163666
Tritanopia (blue-blind)
#54273E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #551568;
/* rgb */ color: rgb(85, 21, 104);
/* oklch */ color: oklch(34.5% 0.142 317.1);
Tailwind
colors: {
  custom: {
    50: '#885a94',
    500: '#551568',
    950: '#000000',
  },
}
SCSS
$custom: #551568;
$custom-light: #885a94;
$custom-dark: #000000;
JSON
{
  "hex": "#551568",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 286.265,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.14188,
    "h": 317.1
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#551568
secondary
#519F3A
accent
#E93E66
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #551568

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

Preview Lab → · Contrast checker → · Palette generator →

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