#552D7B#552D7B

#552D7B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.129 H 304.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#552D7B
RGBrgb(85, 45, 123)
HSLhsl(271, 46%, 33%)
HSVhsv(271, 63%, 48%)
CMYKcmyk(30.9%, 63.4%, 0%, 51.8%)
CIE-LABlab(27.40, 34.38, -37.54)
CIE-LCHlch(27.40, 50.90, 312.49°)
OKLaboklab(38.89% 0.0736 -0.1062)
OKLCHoklch(38.89% 0.129 304.7)
XYZxyz(8.2591, 5.2382, 19.3110)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7B #537B2D
analogous
#2E2D7B #552D7B #7B2D7A
triadic
#552D7B #7B552D #2D7B55
tetradic
#552D7B #7B2E2D #537B2D #2D7A7B
square
#552D7B #7B2E2D #537B2D #2D7A7B
split-complementary
#552D7B #7A7B2D #2D7B2E
monochromatic
#170C21 #361D4E #552D7B #743DA8 #935EC4

Accessibility & contrast

On white

10.26
#552D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D7B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7B#FFFFFF#000000##FFFFFF
##552D7B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407D
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#4E3D4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7b;
/* rgb */ color: rgb(85, 45, 123);
/* oklch */ color: oklch(38.9% 0.129 304.7);
Tailwind
colors: {
  custom: {
    50: '#8868a2',
    500: '#552d7b',
    950: '#000000',
  },
}
SCSS
$custom: #552d7b;
$custom-light: #8868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7b",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 270.769,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.12919,
    "h": 304.7
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#552D7B
secondary
#81AB59
accent
#D65292
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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