#552AA9#552AA9

#552AA9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.188 H 291.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#552AA9
RGBrgb(85, 42, 169)
HSLhsl(260, 60%, 41%)
HSVhsv(260, 75%, 66%)
CMYKcmyk(49.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(30.52, 48.43, -60.79)
CIE-LCHlch(30.52, 77.72, 308.54°)
OKLaboklab(42.28% 0.0695 -0.1745)
OKLCHoklch(42.28% 0.188 291.7)
XYZxyz(11.7337, 6.4514, 38.1554)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA9 #7EA92A
analogous
#2A3FA9 #552AA9 #952AA9
triadic
#552AA9 #A9552A #2AA955
tetradic
#552AA9 #A92A3F #7EA92A #2AA995
square
#552AA9 #A92A3F #7EA92A #2AA995
split-complementary
#552AA9 #A9952A #3FA92A
monochromatic
#241247 #3C1E78 #552AA9 #7141D0 #9672DC

Accessibility & contrast

On white

9.17
#552AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#552AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA9
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA9#FFFFFF#000000##FFFFFF
##552AA91.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#394C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552aa9;
/* rgb */ color: rgb(85, 42, 169);
/* oklch */ color: oklch(42.3% 0.188 291.7);
Tailwind
colors: {
  custom: {
    50: '#8d68c4',
    500: '#552aa9',
    950: '#000000',
  },
}
SCSS
$custom: #552aa9;
$custom-light: #8d68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa9",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 260.315,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.18783,
    "h": 291.7
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#552AA9
secondary
#A5C36C
accent
#E344AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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