#552F9C#552F9C

#552F9C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.167 H 293.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#552F9C
RGBrgb(85, 47, 156)
HSLhsl(261, 54%, 40%)
HSVhsv(261, 70%, 61%)
CMYKcmyk(45.5%, 69.9%, 0%, 38.8%)
CIE-LABlab(30.31, 42.26, -53.27)
CIE-LCHlch(30.31, 68.00, 308.43°)
OKLaboklab(41.78% 0.0677 -0.1524)
OKLCHoklch(41.78% 0.167 293.9)
XYZxyz(10.7619, 6.3643, 32.1075)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F9C #769C2F
analogous
#2F409C #552F9C #8B2F9C
triadic
#552F9C #9C552F #2F9C55
tetradic
#552F9C #9C2F40 #769C2F #2F9C8B
square
#552F9C #9C2F40 #769C2F #2F9C8B
split-complementary
#552F9C #9C8B2F #409C2F
monochromatic
#22133E #3B216D #552F9C #7042C6 #9471D4

Accessibility & contrast

On white

9.24
#552F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#552F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F9C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F9C#FFFFFF#000000##FFFFFF
##552F9C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#414A62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552f9c;
/* rgb */ color: rgb(85, 47, 156);
/* oklch */ color: oklch(41.8% 0.167 293.9);
Tailwind
colors: {
  custom: {
    50: '#8b6aba',
    500: '#552f9c',
    950: '#000000',
  },
}
SCSS
$custom: #552f9c;
$custom-light: #8b6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#552f9c",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 260.917,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.16678,
    "h": 293.9
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#552F9C
secondary
#A0BC6B
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #552F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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