#552D7D#552D7D

#552D7D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.132 H 303.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#552D7D
RGBrgb(85, 45, 125)
HSLhsl(270, 47%, 33%)
HSVhsv(270, 64%, 49%)
CMYKcmyk(32%, 64%, 0%, 51%)
CIE-LABlab(27.54, 34.91, -38.57)
CIE-LCHlch(27.54, 52.02, 312.14°)
OKLaboklab(39.04% 0.0735 -0.1092)
OKLCHoklch(39.04% 0.132 303.9)
XYZxyz(8.3855, 5.2888, 19.9771)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7D #557D2D
analogous
#2D2D7D #552D7D #7D2D7D
triadic
#552D7D #7D552D #2D7D55
tetradic
#552D7D #7D2D2D #557D2D #2D7D7D
square
#552D7D #7D2D2D #557D2D #2D7D7D
split-complementary
#552D7D #7D7D2D #2D7D2D
monochromatic
#180D23 #361D50 #552D7D #743DAA #925FC5

Accessibility & contrast

On white

10.21
#552D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D7D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7D#FFFFFF#000000##FFFFFF
##552D7D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#4E3E50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7d;
/* rgb */ color: rgb(85, 45, 125);
/* oklch */ color: oklch(39.0% 0.132 303.9);
Tailwind
colors: {
  custom: {
    50: '#8868a3',
    500: '#552d7d',
    950: '#000000',
  },
}
SCSS
$custom: #552d7d;
$custom-light: #8868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7d",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 270,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.13166,
    "h": 303.9
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#552D7D
secondary
#83AC5A
accent
#D75194
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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