#552D88#552D88

#552D88 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.145 H 300.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#552D88
RGBrgb(85, 45, 136)
HSLhsl(266, 50%, 35%)
HSVhsv(266, 67%, 53%)
CMYKcmyk(37.5%, 66.9%, 0%, 46.7%)
CIE-LABlab(28.34, 37.84, -44.17)
CIE-LCHlch(28.34, 58.16, 310.59°)
OKLaboklab(39.87% 0.0727 -0.1257)
OKLCHoklch(39.87% 0.145 300)
XYZxyz(9.1275, 5.5856, 23.8850)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D88 #60882D
analogous
#2D3288 #552D88 #822D88
triadic
#552D88 #88552D #2D8855
tetradic
#552D88 #882D32 #60882D #2D8882
square
#552D88 #882D32 #60882D #2D8882
split-complementary
#552D88 #88822D #32882D
monochromatic
#1C0F2C #381E5A #552D88 #723CB6 #9164CC

Accessibility & contrast

On white

9.92
#552D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D88
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D88#FFFFFF#000000##FFFFFF
##552D881.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#4A4156
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552d88;
/* rgb */ color: rgb(85, 45, 136);
/* oklch */ color: oklch(39.9% 0.145 300.0);
Tailwind
colors: {
  custom: {
    50: '#8969ab',
    500: '#552d88',
    950: '#000000',
  },
}
SCSS
$custom: #552d88;
$custom-light: #8969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552d88",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 266.374,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.14517,
    "h": 300
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#552D88
secondary
#8DB25F
accent
#DA4E9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D88

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

Preview Lab → · Contrast checker → · Palette generator →

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