#552AA4#552AA4

#552AA4 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.182 H 292.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#552AA4
RGBrgb(85, 42, 164)
HSLhsl(261, 59%, 40%)
HSVhsv(261, 74%, 64%)
CMYKcmyk(48.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(30.08, 47.06, -58.51)
CIE-LCHlch(30.08, 75.08, 308.81°)
OKLaboklab(41.83% 0.0708 -0.1678)
OKLCHoklch(41.83% 0.182 292.9)
XYZxyz(11.2733, 6.2672, 35.7305)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA4 #79A42A
analogous
#2A3CA4 #552AA4 #922AA4
triadic
#552AA4 #A4552A #2AA455
tetradic
#552AA4 #A42A3C #79A42A #2AA492
square
#552AA4 #A42A3C #79A42A #2AA492
split-complementary
#552AA4 #A4922A #3CA42A
monochromatic
#221143 #3C1E73 #552AA4 #703ECD #946EDA

Accessibility & contrast

On white

9.32
#552AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#552AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA4
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA4#FFFFFF#000000##FFFFFF
##552AA41.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#3C4A65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552aa4;
/* rgb */ color: rgb(85, 42, 164);
/* oklch */ color: oklch(41.8% 0.182 292.9);
Tailwind
colors: {
  custom: {
    50: '#8d68c0',
    500: '#552aa4',
    950: '#000000',
  },
}
SCSS
$custom: #552aa4;
$custom-light: #8d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa4",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 261.148,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.18211,
    "h": 292.9
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#552AA4
secondary
#A2C169
accent
#E245AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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