#552888#552888

#552888 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.152 H 301.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#552888
RGBrgb(85, 40, 136)
HSLhsl(268, 55%, 35%)
HSVhsv(268, 71%, 53%)
CMYKcmyk(37.5%, 70.6%, 0%, 46.7%)
CIE-LABlab(27.37, 40.52, -45.74)
CIE-LCHlch(27.37, 61.11, 311.53°)
OKLaboklab(39.17% 0.0784 -0.1303)
OKLCHoklch(39.17% 0.152 301)
XYZxyz(8.9480, 5.2264, 23.8252)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552888 #5B8828
analogous
#282B88 #552888 #852888
triadic
#552888 #885528 #288855
tetradic
#552888 #88282B #5B8828 #288885
square
#552888 #88282B #5B8828 #288885
split-complementary
#552888 #888528 #2B8828
monochromatic
#1A0C29 #371A59 #552888 #7336B7 #925BCF

Accessibility & contrast

On white

10.27
#552888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552888
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552888#FFFFFF#000000##FFFFFF
##5528881.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#4A3F55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552888;
/* rgb */ color: rgb(85, 40, 136);
/* oklch */ color: oklch(39.2% 0.152 301.0);
Tailwind
colors: {
  custom: {
    50: '#8966ab',
    500: '#552888',
    950: '#000000',
  },
}
SCSS
$custom: #552888;
$custom-light: #8966ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552888",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 268.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.15207,
    "h": 301
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#552888
secondary
#89B458
accent
#DE4A99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552888

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

Preview Lab → · Contrast checker → · Palette generator →

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