#552D8D#552D8D

#552D8D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.151 H 298.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#552D8D
RGBrgb(85, 45, 141)
HSLhsl(265, 52%, 36%)
HSVhsv(265, 68%, 55%)
CMYKcmyk(39.7%, 68.1%, 0%, 44.7%)
CIE-LABlab(28.72, 39.20, -46.65)
CIE-LCHlch(28.72, 60.93, 310.04°)
OKLaboklab(40.27% 0.0721 -0.133)
OKLCHoklch(40.27% 0.151 298.5)
XYZxyz(9.4912, 5.7310, 25.8003)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D8D #658D2D
analogous
#2D358D #552D8D #852D8D
triadic
#552D8D #8D552D #2D8D55
tetradic
#552D8D #8D2D35 #658D2D #2D8D85
square
#552D8D #8D2D35 #658D2D #2D8D85
split-complementary
#552D8D #8D852D #358D2D
monochromatic
#1D0F30 #391E5F #552D8D #713CBB #9266CE

Accessibility & contrast

On white

9.78
#552D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#552D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D8D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D8D#FFFFFF#000000##FFFFFF
##552D8D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#484359
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552d8d;
/* rgb */ color: rgb(85, 45, 141);
/* oklch */ color: oklch(40.3% 0.151 298.5);
Tailwind
colors: {
  custom: {
    50: '#8a69af',
    500: '#552d8d',
    950: '#000000',
  },
}
SCSS
$custom: #552d8d;
$custom-light: #8a69af;
$custom-dark: #000000;
JSON
{
  "hex": "#552d8d",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 265,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.15126,
    "h": 298.5
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#552D8D
secondary
#92B561
accent
#DB4DA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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