#552EB4#552EB4

#552EB4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.196 H 288.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#552EB4
RGBrgb(85, 46, 180)
HSLhsl(257, 59%, 44%)
HSVhsv(257, 74%, 71%)
CMYKcmyk(52.8%, 74.4%, 0%, 29.4%)
CIE-LABlab(32.21, 49.53, -64.60)
CIE-LCHlch(32.21, 81.40, 307.48°)
OKLaboklab(43.77% 0.0635 -0.1857)
OKLCHoklch(43.77% 0.196 288.9)
XYZxyz(12.9591, 7.1800, 43.8742)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EB4 #8DB42E
analogous
#2E4AB4 #552EB4 #982EB4
triadic
#552EB4 #B4552E #2EB455
tetradic
#552EB4 #B42E4A #8DB42E #2EB498
square
#552EB4 #B42E4A #8DB42E #2EB498
split-complementary
#552EB4 #B4982E #4AB42E
monochromatic
#271553 #3E2283 #552EB4 #744ED2 #9A7EDE

Accessibility & contrast

On white

8.62
#552EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#552EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EB4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EB4#FFFFFF#000000##FFFFFF
##552EB41.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#31536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #552eb4;
/* rgb */ color: rgb(85, 46, 180);
/* oklch */ color: oklch(43.8% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f6bcc',
    500: '#552eb4',
    950: '#000000',
  },
}
SCSS
$custom: #552eb4;
$custom-light: #8f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#552eb4",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 257.463,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.19623,
    "h": 288.9
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#552EB4
secondary
#B0C777
accent
#E245B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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