#552D89#552D89

#552D89 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.146 H 299.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#552D89
RGBrgb(85, 45, 137)
HSLhsl(266, 51%, 36%)
HSVhsv(266, 67%, 54%)
CMYKcmyk(38%, 67.2%, 0%, 46.3%)
CIE-LABlab(28.42, 38.11, -44.67)
CIE-LCHlch(28.42, 58.72, 310.47°)
OKLaboklab(39.95% 0.0726 -0.1272)
OKLCHoklch(39.95% 0.146 299.7)
XYZxyz(9.1989, 5.6141, 24.2611)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D89 #61892D
analogous
#2D3389 #552D89 #832D89
triadic
#552D89 #89552D #2D8955
tetradic
#552D89 #892D33 #61892D #2D8983
square
#552D89 #892D33 #61892D #2D8983
split-complementary
#552D89 #89832D #33892D
monochromatic
#1C0F2D #381E5B #552D89 #723CB7 #9164CC

Accessibility & contrast

On white

9.89
#552D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552D89
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D89#FFFFFF#000000##FFFFFF
##552D891.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#494257
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552d89;
/* rgb */ color: rgb(85, 45, 137);
/* oklch */ color: oklch(39.9% 0.146 299.7);
Tailwind
colors: {
  custom: {
    50: '#8969ac',
    500: '#552d89',
    950: '#000000',
  },
}
SCSS
$custom: #552d89;
$custom-light: #8969ac;
$custom-dark: #000000;
JSON
{
  "hex": "#552d89",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 266.087,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.1464,
    "h": 299.7
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#552D89
secondary
#8EB35F
accent
#DA4E9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D89

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

Preview Lab → · Contrast checker → · Palette generator →

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