#552EA4#552EA4

#552EA4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.178 H 292.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#552EA4
RGBrgb(85, 46, 164)
HSLhsl(260, 56%, 41%)
HSVhsv(260, 72%, 64%)
CMYKcmyk(48.2%, 72%, 0%, 35.7%)
CIE-LABlab(30.80, 45.03, -57.33)
CIE-LCHlch(30.80, 72.90, 308.15°)
OKLaboklab(42.33% 0.0671 -0.1644)
OKLCHoklch(42.33% 0.178 292.2)
XYZxyz(11.4223, 6.5652, 35.7801)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA4 #7DA42E
analogous
#2E42A4 #552EA4 #902EA4
triadic
#552EA4 #A4552E #2EA455
tetradic
#552EA4 #A42E42 #7DA42E #2EA490
square
#552EA4 #A42E42 #7DA42E #2EA490
split-complementary
#552EA4 #A4902E #42A42E
monochromatic
#231344 #3C2174 #552EA4 #7145CB #9574D8

Accessibility & contrast

On white

9.08
#552EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#552EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA4#FFFFFF#000000##FFFFFF
##552EA41.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#3C4C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ea4;
/* rgb */ color: rgb(85, 46, 164);
/* oklch */ color: oklch(42.3% 0.178 292.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ac0',
    500: '#552ea4',
    950: '#000000',
  },
}
SCSS
$custom: #552ea4;
$custom-light: #8c6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea4",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 259.831,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.17755,
    "h": 292.2
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#552EA4
secondary
#A5C06E
accent
#DF48AE
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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