#552A9C#552A9C

#552A9C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.173 H 294.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#552A9C
RGBrgb(85, 42, 156)
HSLhsl(263, 58%, 39%)
HSVhsv(263, 73%, 61%)
CMYKcmyk(45.5%, 73.1%, 0%, 38.8%)
CIE-LABlab(29.38, 44.87, -54.79)
CIE-LCHlch(29.38, 70.82, 309.31°)
OKLaboklab(41.12% 0.0726 -0.1569)
OKLCHoklch(41.12% 0.173 294.8)
XYZxyz(10.5734, 5.9872, 32.0446)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A9C #719C2A
analogous
#2A389C #552A9C #8E2A9C
triadic
#552A9C #9C552A #2A9C55
tetradic
#552A9C #9C2A38 #719C2A #2A9C8E
square
#552A9C #9C2A38 #719C2A #2A9C8E
split-complementary
#552A9C #9C8E2A #389C2A
monochromatic
#20103C #3B1D6C #552A9C #7039CA #936AD7

Accessibility & contrast

On white

9.56
#552A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#552A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A9C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A9C#FFFFFF#000000##FFFFFF
##552A9C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#414760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552a9c;
/* rgb */ color: rgb(85, 42, 156);
/* oklch */ color: oklch(41.1% 0.173 294.8);
Tailwind
colors: {
  custom: {
    50: '#8c68ba',
    500: '#552a9c',
    950: '#000000',
  },
}
SCSS
$custom: #552a9c;
$custom-light: #8c68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#552a9c",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 262.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.17288,
    "h": 294.8
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#552A9C
secondary
#9CBD65
accent
#E147A7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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