#552F9A#552F9A

#552F9A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.164 H 294.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#552F9A
RGBrgb(85, 47, 154)
HSLhsl(261, 53%, 39%)
HSVhsv(261, 69%, 60%)
CMYKcmyk(44.8%, 69.5%, 0%, 39.6%)
CIE-LABlab(30.15, 41.70, -52.32)
CIE-LCHlch(30.15, 66.91, 308.56°)
OKLaboklab(41.61% 0.068 -0.1496)
OKLCHoklch(41.61% 0.164 294.4)
XYZxyz(10.5940, 6.2971, 31.2229)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F9A #749A2F
analogous
#2F3F9A #552F9A #8B2F9A
triadic
#552F9A #9A552F #2F9A55
tetradic
#552F9A #9A2F3F #749A2F #2F9A8B
square
#552F9A #9A2F3F #749A2F #2F9A8B
split-complementary
#552F9A #9A8B2F #3F9A2F
monochromatic
#21123C #3B216B #552F9A #7041C5 #9370D3

Accessibility & contrast

On white

9.29
#552F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#552F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F9A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F9A#FFFFFF#000000##FFFFFF
##552F9A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#424961
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552f9a;
/* rgb */ color: rgb(85, 47, 154);
/* oklch */ color: oklch(41.6% 0.164 294.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ab9',
    500: '#552f9a',
    950: '#000000',
  },
}
SCSS
$custom: #552f9a;
$custom-light: #8b6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#552f9a",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 261.308,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.16437,
    "h": 294.4
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#552F9A
secondary
#9EBB6A
accent
#DD4BA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #552F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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