#552987#552987

#552987 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.150 H 301.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#552987
RGBrgb(85, 41, 135)
HSLhsl(268, 53%, 35%)
HSVhsv(268, 70%, 53%)
CMYKcmyk(37%, 69.6%, 0%, 47.1%)
CIE-LABlab(27.48, 39.73, -44.94)
CIE-LCHlch(27.48, 59.98, 311.48°)
OKLaboklab(39.23% 0.0775 -0.1279)
OKLCHoklch(39.23% 0.15 301.2)
XYZxyz(8.9114, 5.2664, 23.4640)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552987 #5B8729
analogous
#292C87 #552987 #842987
triadic
#552987 #875529 #298755
tetradic
#552987 #87292C #5B8729 #298784
square
#552987 #87292C #5B8729 #298784
split-complementary
#552987 #878429 #2C8729
monochromatic
#1A0C29 #371B58 #552987 #7337B6 #925DCE

Accessibility & contrast

On white

10.23
#552987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552987
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552987#FFFFFF#000000##FFFFFF
##5529871.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#4A3F54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552987;
/* rgb */ color: rgb(85, 41, 135);
/* oklch */ color: oklch(39.2% 0.150 301.2);
Tailwind
colors: {
  custom: {
    50: '#8966ab',
    500: '#552987',
    950: '#000000',
  },
}
SCSS
$custom: #552987;
$custom-light: #8966ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552987",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 268.085,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.14955,
    "h": 301.2
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#552987
secondary
#89B359
accent
#DD4B99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552987

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

Preview Lab → · Contrast checker → · Palette generator →

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