#552CB5#552CB5

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

Color values

HEX#552CB5
RGBrgb(85, 44, 181)
HSLhsl(258, 61%, 44%)
HSVhsv(258, 76%, 71%)
CMYKcmyk(53%, 75.7%, 0%, 29%)
CIE-LABlab(31.96, 50.78, -65.60)
CIE-LCHlch(31.96, 82.96, 307.74°)
OKLaboklab(43.62% 0.0648 -0.1886)
OKLCHoklch(43.62% 0.199 289)
XYZxyz(12.9850, 7.0682, 44.3872)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552CB5 #8CB52C
analogous
#2C48B5 #552CB5 #9A2CB5
triadic
#552CB5 #B5552C #2CB555
tetradic
#552CB5 #B52C48 #8CB52C #2CB59A
square
#552CB5 #B52C48 #8CB52C #2CB59A
split-complementary
#552CB5 #B59A2C #48B52C
monochromatic
#271453 #3E2084 #552CB5 #744BD3 #9A7CDF

Accessibility & contrast

On white

8.70
#552CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#552CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552CB5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552CB5#FFFFFF#000000##FFFFFF
##552CB51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#30526F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #552cb5;
/* rgb */ color: rgb(85, 44, 181);
/* oklch */ color: oklch(43.6% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#8f6acc',
    500: '#552cb5',
    950: '#000000',
  },
}
SCSS
$custom: #552cb5;
$custom-light: #8f6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#552cb5",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 257.956,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.19943,
    "h": 289
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#552CB5
secondary
#AFC875
accent
#E444B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #552CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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