#552087#552087

#552087 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.161 H 302.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#552087
RGBrgb(85, 32, 135)
HSLhsl(271, 62%, 33%)
HSVhsv(271, 76%, 53%)
CMYKcmyk(37%, 76.3%, 0%, 47.1%)
CIE-LABlab(25.90, 44.16, -47.50)
CIE-LCHlch(25.90, 64.86, 312.91°)
OKLaboklab(38.11% 0.087 -0.1354)
OKLCHoklch(38.11% 0.161 302.7)
XYZxyz(8.6350, 4.7136, 23.3719)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552087 #528720
analogous
#212087 #552087 #872085
triadic
#552087 #875520 #208755
tetradic
#552087 #872120 #528720 #208587
square
#552087 #872120 #528720 #208587
split-complementary
#552087 #858720 #208721
monochromatic
#170924 #361456 #552087 #742CB8 #934DD5

Accessibility & contrast

On white

10.81
#552087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#552087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552087
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552087#FFFFFF#000000##FFFFFF
##5520871.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4B3A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552087;
/* rgb */ color: rgb(85, 32, 135);
/* oklch */ color: oklch(38.1% 0.161 302.7);
Tailwind
colors: {
  custom: {
    50: '#8a61ab',
    500: '#552087',
    950: '#000000',
  },
}
SCSS
$custom: #552087;
$custom-light: #8a61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552087",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 270.874,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.16096,
    "h": 302.7
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#552087
secondary
#80B84B
accent
#E54392
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #552087

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

Preview Lab → · Contrast checker → · Palette generator →

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