#552A9A#552A9A

#552A9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.171 H 295.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#552A9A
RGBrgb(85, 42, 154)
HSLhsl(263, 57%, 38%)
HSVhsv(263, 73%, 60%)
CMYKcmyk(44.8%, 72.7%, 0%, 39.6%)
CIE-LABlab(29.21, 44.32, -53.85)
CIE-LCHlch(29.21, 69.74, 309.46°)
OKLaboklab(40.94% 0.073 -0.1541)
OKLCHoklch(40.94% 0.171 295.4)
XYZxyz(10.4054, 5.9201, 31.1600)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A9A #6F9A2A
analogous
#2A379A #552A9A #8D2A9A
triadic
#552A9A #9A552A #2A9A55
tetradic
#552A9A #9A2A37 #6F9A2A #2A9A8D
square
#552A9A #9A2A37 #6F9A2A #2A9A8D
split-complementary
#552A9A #9A8D2A #379A2A
monochromatic
#20103A #3A1D6A #552A9A #7038C9 #9268D6

Accessibility & contrast

On white

9.62
#552A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#552A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A9A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A9A#FFFFFF#000000##FFFFFF
##552A9A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#42475F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552a9a;
/* rgb */ color: rgb(85, 42, 154);
/* oklch */ color: oklch(40.9% 0.171 295.4);
Tailwind
colors: {
  custom: {
    50: '#8b67b9',
    500: '#552a9a',
    950: '#000000',
  },
}
SCSS
$custom: #552a9a;
$custom-light: #8b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#552a9a",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 263.036,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.17056,
    "h": 295.4
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#552A9A
secondary
#9ABC63
accent
#E047A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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