#552986#552986

#552986 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.148 H 301.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#552986
RGBrgb(85, 41, 134)
HSLhsl(268, 53%, 34%)
HSVhsv(268, 69%, 53%)
CMYKcmyk(36.6%, 69.4%, 0%, 47.5%)
CIE-LABlab(27.40, 39.47, -44.44)
CIE-LCHlch(27.40, 59.44, 311.61°)
OKLaboklab(39.15% 0.0776 -0.1265)
OKLCHoklch(39.15% 0.148 301.5)
XYZxyz(8.8413, 5.2384, 23.0949)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552986 #5A8629
analogous
#292C86 #552986 #842986
triadic
#552986 #865529 #298655
tetradic
#552986 #86292C #5A8629 #298684
square
#552986 #86292C #5A8629 #298684
split-complementary
#552986 #868429 #2C8629
monochromatic
#1A0C28 #371B57 #552986 #7337B5 #925CCD

Accessibility & contrast

On white

10.26
#552986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552986
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552986#FFFFFF#000000##FFFFFF
##5529861.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#4B3E54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552986;
/* rgb */ color: rgb(85, 41, 134);
/* oklch */ color: oklch(39.1% 0.148 301.5);
Tailwind
colors: {
  custom: {
    50: '#8966aa',
    500: '#552986',
    950: '#000000',
  },
}
SCSS
$custom: #552986;
$custom-light: #8966aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552986",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 268.387,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39149,
    "c": 0.14837,
    "h": 301.5
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#552986
secondary
#88B358
accent
#DD4B98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552986

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

Preview Lab → · Contrast checker → · Palette generator →

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