#552D8B#552D8B

#552D8B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.149 H 299.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#552D8B
RGBrgb(85, 45, 139)
HSLhsl(266, 51%, 36%)
HSVhsv(266, 68%, 55%)
CMYKcmyk(38.8%, 67.6%, 0%, 45.5%)
CIE-LABlab(28.57, 38.65, -45.66)
CIE-LCHlch(28.57, 59.83, 310.25°)
OKLaboklab(40.11% 0.0723 -0.1301)
OKLCHoklch(40.11% 0.149 299.1)
XYZxyz(9.3437, 5.6720, 25.0236)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D8B #638B2D
analogous
#2D348B #552D8B #842D8B
triadic
#552D8B #8B552D #2D8B55
tetradic
#552D8B #8B2D34 #638B2D #2D8B84
square
#552D8B #8B2D34 #638B2D #2D8B84
split-complementary
#552D8B #8B842D #348B2D
monochromatic
#1C0F2F #391E5D #552D8B #713CB9 #9165CD

Accessibility & contrast

On white

9.84
#552D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#552D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D8B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D8B#FFFFFF#000000##FFFFFF
##552D8B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#494358
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552d8b;
/* rgb */ color: rgb(85, 45, 139);
/* oklch */ color: oklch(40.1% 0.149 299.1);
Tailwind
colors: {
  custom: {
    50: '#8969ae',
    500: '#552d8b',
    950: '#000000',
  },
}
SCSS
$custom: #552d8b;
$custom-light: #8969ae;
$custom-dark: #000000;
JSON
{
  "hex": "#552d8b",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 265.532,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.14884,
    "h": 299.1
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#552D8B
secondary
#90B460
accent
#DB4D9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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