#552F9B#552F9B

#552F9B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.166 H 294.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#552F9B
RGBrgb(85, 47, 155)
HSLhsl(261, 53%, 40%)
HSVhsv(261, 70%, 61%)
CMYKcmyk(45.2%, 69.7%, 0%, 39.2%)
CIE-LABlab(30.23, 41.98, -52.79)
CIE-LCHlch(30.23, 67.45, 308.49°)
OKLaboklab(41.7% 0.0678 -0.151)
OKLCHoklch(41.7% 0.166 294.2)
XYZxyz(10.6776, 6.3306, 31.6633)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F9B #759B2F
analogous
#2F3F9B #552F9B #8B2F9B
triadic
#552F9B #9B552F #2F9B55
tetradic
#552F9B #9B2F3F #759B2F #2F9B8B
square
#552F9B #9B2F3F #759B2F #2F9B8B
split-complementary
#552F9B #9B8B2F #3F9B2F
monochromatic
#21133D #3B216C #552F9B #7042C6 #9371D4

Accessibility & contrast

On white

9.27
#552F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F9B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F9B#FFFFFF#000000##FFFFFF
##552F9B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#414A61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552f9b;
/* rgb */ color: rgb(85, 47, 155);
/* oklch */ color: oklch(41.7% 0.166 294.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ab9',
    500: '#552f9b',
    950: '#000000',
  },
}
SCSS
$custom: #552f9b;
$custom-light: #8b6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#552f9b",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 261.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.16558,
    "h": 294.2
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#552F9B
secondary
#9FBB6A
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #552F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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