#552387#552387

#552387 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.157 H 302.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#552387
RGBrgb(85, 35, 135)
HSLhsl(270, 59%, 33%)
HSVhsv(270, 74%, 53%)
CMYKcmyk(37%, 74.1%, 0%, 47.1%)
CIE-LABlab(26.40, 42.76, -46.70)
CIE-LCHlch(26.40, 63.31, 312.48°)
OKLaboklab(38.46% 0.084 -0.1331)
OKLCHoklch(38.46% 0.157 302.3)
XYZxyz(8.7195, 4.8826, 23.4000)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552387 #558723
analogous
#232387 #552387 #872387
triadic
#552387 #875523 #238755
tetradic
#552387 #872323 #558723 #238787
square
#552387 #872323 #558723 #238787
split-complementary
#552387 #878723 #238723
monochromatic
#180A26 #361656 #552387 #7430B8 #9252D2

Accessibility & contrast

On white

10.62
#552387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#552387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552387
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552387#FFFFFF#000000##FFFFFF
##5523871.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#4B3B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552387;
/* rgb */ color: rgb(85, 35, 135);
/* oklch */ color: oklch(38.5% 0.157 302.3);
Tailwind
colors: {
  custom: {
    50: '#8a63ab',
    500: '#552387',
    950: '#000000',
  },
}
SCSS
$custom: #552387;
$custom-light: #8a63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552387",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 270,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.15736,
    "h": 302.3
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#552387
secondary
#83B650
accent
#E24694
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552387

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

Preview Lab → · Contrast checker → · Palette generator →

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