#552B87#552B87

#552B87 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.147 H 300.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#552B87
RGBrgb(85, 43, 135)
HSLhsl(267, 52%, 35%)
HSVhsv(267, 68%, 53%)
CMYKcmyk(37%, 68.1%, 0%, 47.1%)
CIE-LABlab(27.87, 38.66, -44.31)
CIE-LCHlch(27.87, 58.81, 311.10°)
OKLaboklab(39.51% 0.0751 -0.1261)
OKLCHoklch(39.51% 0.147 300.8)
XYZxyz(8.9823, 5.4083, 23.4876)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B87 #5D872B
analogous
#2B2F87 #552B87 #832B87
triadic
#552B87 #87552B #2B8755
tetradic
#552B87 #872B2F #5D872B #2B8783
square
#552B87 #872B2F #5D872B #2B8783
split-complementary
#552B87 #87832B #2F872B
monochromatic
#1B0D2A #381C59 #552B87 #723AB5 #9160CC

Accessibility & contrast

On white

10.09
#552B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B87
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B87#FFFFFF#000000##FFFFFF
##552B871.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#4A4055
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552b87;
/* rgb */ color: rgb(85, 43, 135);
/* oklch */ color: oklch(39.5% 0.147 300.8);
Tailwind
colors: {
  custom: {
    50: '#8967ab',
    500: '#552b87',
    950: '#000000',
  },
}
SCSS
$custom: #552b87;
$custom-light: #8967ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552b87",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 267.391,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.14679,
    "h": 300.8
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#552B87
secondary
#8BB25B
accent
#DB4D9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552B87

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

Preview Lab → · Contrast checker → · Palette generator →

#552B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva