#552B8D#552B8D

#552B8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.154 H 298.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#552B8D
RGBrgb(85, 43, 141)
HSLhsl(266, 53%, 36%)
HSVhsv(266, 70%, 55%)
CMYKcmyk(39.7%, 69.5%, 0%, 44.7%)
CIE-LABlab(28.33, 40.27, -47.29)
CIE-LCHlch(28.33, 62.11, 310.42°)
OKLaboklab(39.99% 0.0743 -0.1348)
OKLCHoklch(39.99% 0.154 298.9)
XYZxyz(9.4167, 5.5820, 25.7755)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B8D #638D2B
analogous
#2B328D #552B8D #862B8D
triadic
#552B8D #8D552B #2B8D55
tetradic
#552B8D #8D2B32 #638D2B #2B8D86
square
#552B8D #8D2B32 #638D2B #2B8D86
split-complementary
#552B8D #8D862B #328D2B
monochromatic
#1C0E2F #391D5E #552B8D #7139BC #9163CF

Accessibility & contrast

On white

9.92
#552B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B8D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B8D#FFFFFF#000000##FFFFFF
##552B8D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#484258
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552b8d;
/* rgb */ color: rgb(85, 43, 141);
/* oklch */ color: oklch(40.0% 0.154 298.9);
Tailwind
colors: {
  custom: {
    50: '#8a67af',
    500: '#552b8d',
    950: '#000000',
  },
}
SCSS
$custom: #552b8d;
$custom-light: #8a67af;
$custom-dark: #000000;
JSON
{
  "hex": "#552b8d",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 265.714,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.15397,
    "h": 298.9
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#552B8D
secondary
#90B65E
accent
#DD4B9E
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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