#552188#552188

#552188 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.161 H 302.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#552188
RGBrgb(85, 33, 136)
HSLhsl(270, 61%, 33%)
HSVhsv(270, 76%, 53%)
CMYKcmyk(37.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(26.15, 43.95, -47.73)
CIE-LCHlch(26.15, 64.88, 312.64°)
OKLaboklab(38.31% 0.0858 -0.1361)
OKLCHoklch(38.31% 0.161 302.2)
XYZxyz(8.7330, 4.7966, 23.7535)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552188 #548821
analogous
#212188 #552188 #882187
triadic
#552188 #885521 #218855
tetradic
#552188 #882121 #548821 #218788
square
#552188 #882121 #548821 #218788
split-complementary
#552188 #878821 #218821
monochromatic
#170925 #361557 #552188 #742DB9 #924FD4

Accessibility & contrast

On white

10.72
#552188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#552188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552188
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552188#FFFFFF#000000##FFFFFF
##5521881.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#4A3B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552188;
/* rgb */ color: rgb(85, 33, 136);
/* oklch */ color: oklch(38.3% 0.161 302.2);
Tailwind
colors: {
  custom: {
    50: '#8a62ab',
    500: '#552188',
    950: '#000000',
  },
}
SCSS
$custom: #552188;
$custom-light: #8a62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552188",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 270.291,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38305,
    "c": 0.16088,
    "h": 302.2
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#552188
secondary
#82B84D
accent
#E44493
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552188

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

Preview Lab → · Contrast checker → · Palette generator →

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