#552D99#552D99

#552D99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.166 H 295.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#552D99
RGBrgb(85, 45, 153)
HSLhsl(262, 55%, 39%)
HSVhsv(262, 71%, 60%)
CMYKcmyk(44.4%, 70.6%, 0%, 40%)
CIE-LABlab(29.68, 42.49, -52.47)
CIE-LCHlch(29.68, 67.52, 309.00°)
OKLaboklab(41.25% 0.0702 -0.1501)
OKLCHoklch(41.25% 0.166 295.1)
XYZxyz(10.4329, 6.1077, 30.7600)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D99 #71992D
analogous
#2D3B99 #552D99 #8B2D99
triadic
#552D99 #99552D #2D9955
tetradic
#552D99 #992D3B #71992D #2D998B
square
#552D99 #992D3B #71992D #2D998B
split-complementary
#552D99 #998B2D #3B992D
monochromatic
#20113A #3B1F6A #552D99 #703DC6 #936CD4

Accessibility & contrast

On white

9.45
#552D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#552D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D99
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D99#FFFFFF#000000##FFFFFF
##552D991.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#42485F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552d99;
/* rgb */ color: rgb(85, 45, 153);
/* oklch */ color: oklch(41.3% 0.166 295.1);
Tailwind
colors: {
  custom: {
    50: '#8b69b8',
    500: '#552d99',
    950: '#000000',
  },
}
SCSS
$custom: #552d99;
$custom-light: #8b69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#552d99",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 262.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.1657,
    "h": 295.1
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#552D99
secondary
#9CBB67
accent
#DE4AA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552D99

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

Preview Lab → · Contrast checker → · Palette generator →

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