#552DB4#552DB4

#552DB4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.197 H 289.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#552DB4
RGBrgb(85, 45, 180)
HSLhsl(258, 60%, 44%)
HSVhsv(258, 75%, 71%)
CMYKcmyk(52.8%, 75%, 0%, 29.4%)
CIE-LABlab(32.04, 50.02, -64.88)
CIE-LCHlch(32.04, 81.92, 307.63°)
OKLaboklab(43.65% 0.0643 -0.1865)
OKLCHoklch(43.65% 0.197 289)
XYZxyz(12.9205, 7.1028, 43.8613)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552DB4 #8CB42D
analogous
#2D49B4 #552DB4 #992DB4
triadic
#552DB4 #B4552D #2DB455
tetradic
#552DB4 #B42D49 #8CB42D #2DB499
square
#552DB4 #B42D49 #8CB42D #2DB499
split-complementary
#552DB4 #B4992D #49B42D
monochromatic
#271552 #3E2183 #552DB4 #744CD2 #9A7DDE

Accessibility & contrast

On white

8.68
#552DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#552DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552DB4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552DB4#FFFFFF#000000##FFFFFF
##552DB41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#31526E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #552db4;
/* rgb */ color: rgb(85, 45, 180);
/* oklch */ color: oklch(43.6% 0.197 289.0);
Tailwind
colors: {
  custom: {
    50: '#8f6acc',
    500: '#552db4',
    950: '#000000',
  },
}
SCSS
$custom: #552db4;
$custom-light: #8f6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#552db4",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 257.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.19727,
    "h": 289
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#552DB4
secondary
#AFC776
accent
#E345B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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