#552D9B#552D9B

#552D9B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.168 H 294.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#552D9B
RGBrgb(85, 45, 155)
HSLhsl(262, 55%, 39%)
HSVhsv(262, 71%, 61%)
CMYKcmyk(45.2%, 71%, 0%, 39.2%)
CIE-LABlab(29.85, 43.05, -53.42)
CIE-LCHlch(29.85, 68.61, 308.86°)
OKLaboklab(41.42% 0.0699 -0.1529)
OKLCHoklch(41.42% 0.168 294.6)
XYZxyz(10.5995, 6.1743, 31.6373)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D9B #739B2D
analogous
#2D3C9B #552D9B #8C2D9B
triadic
#552D9B #9B552D #2D9B55
tetradic
#552D9B #9B2D3C #739B2D #2D9B8C
square
#552D9B #9B2D3C #739B2D #2D9B8C
split-complementary
#552D9B #9B8C2D #3C9B2D
monochromatic
#21113C #3B1F6C #552D9B #703EC7 #936ED5

Accessibility & contrast

On white

9.40
#552D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#552D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D9B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D9B#FFFFFF#000000##FFFFFF
##552D9B1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#414860
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552d9b;
/* rgb */ color: rgb(85, 45, 155);
/* oklch */ color: oklch(41.4% 0.168 294.6);
Tailwind
colors: {
  custom: {
    50: '#8b69b9',
    500: '#552d9b',
    950: '#000000',
  },
}
SCSS
$custom: #552d9b;
$custom-light: #8b69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#552d9b",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 261.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.16809,
    "h": 294.6
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#552D9B
secondary
#9DBC68
accent
#DE49A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #552D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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