#552587#552587

#552587 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.155 H 301.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#552587
RGBrgb(85, 37, 135)
HSLhsl(269, 57%, 34%)
HSVhsv(269, 73%, 53%)
CMYKcmyk(37%, 72.6%, 0%, 47.1%)
CIE-LABlab(26.75, 41.78, -46.13)
CIE-LCHlch(26.75, 62.24, 312.16°)
OKLaboklab(38.7% 0.0819 -0.1314)
OKLCHoklch(38.7% 0.155 301.9)
XYZxyz(8.7800, 5.0037, 23.4202)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552587 #578725
analogous
#252687 #552587 #862587
triadic
#552587 #875525 #258755
tetradic
#552587 #872526 #578725 #258786
square
#552587 #872526 #578725 #258786
split-complementary
#552587 #878625 #268725
monochromatic
#190B27 #371857 #552587 #7332B7 #9256D1

Accessibility & contrast

On white

10.50
#552587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#552587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552587
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552587#FFFFFF#000000##FFFFFF
##5525871.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#4A3C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552587;
/* rgb */ color: rgb(85, 37, 135);
/* oklch */ color: oklch(38.7% 0.155 301.9);
Tailwind
colors: {
  custom: {
    50: '#8a64ab',
    500: '#552587',
    950: '#000000',
  },
}
SCSS
$custom: #552587;
$custom-light: #8a64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552587",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 269.388,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.15484,
    "h": 301.9
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#552587
secondary
#85B553
accent
#E04895
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552587

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

Preview Lab → · Contrast checker → · Palette generator →

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