#552E9B#552E9B

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

Color values

HEX#552E9B
RGBrgb(85, 46, 155)
HSLhsl(261, 54%, 39%)
HSVhsv(261, 70%, 61%)
CMYKcmyk(45.2%, 70.3%, 0%, 39.2%)
CIE-LABlab(30.04, 42.52, -53.11)
CIE-LCHlch(30.04, 68.03, 308.68°)
OKLaboklab(41.56% 0.0689 -0.152)
OKLCHoklch(41.56% 0.167 294.4)
XYZxyz(10.6381, 6.2516, 31.6502)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E9B #749B2E
analogous
#2E3E9B #552E9B #8C2E9B
triadic
#552E9B #9B552E #2E9B55
tetradic
#552E9B #9B2E3E #749B2E #2E9B8C
square
#552E9B #9B2E3E #749B2E #2E9B8C
split-complementary
#552E9B #9B8C2E #3E9B2E
monochromatic
#21123D #3B206C #552E9B #7040C6 #936FD4

Accessibility & contrast

On white

9.33
#552E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#552E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E9B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E9B#FFFFFF#000000##FFFFFF
##552E9B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552e9b;
/* rgb */ color: rgb(85, 46, 155);
/* oklch */ color: oklch(41.6% 0.167 294.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ab9',
    500: '#552e9b',
    950: '#000000',
  },
}
SCSS
$custom: #552e9b;
$custom-light: #8b6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#552e9b",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 261.468,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.16684,
    "h": 294.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#552E9B
secondary
#9EBC69
accent
#DE4AA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #552E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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