#552C7D#552C7D

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

Color values

HEX#552C7D
RGBrgb(85, 44, 125)
HSLhsl(270, 48%, 33%)
HSVhsv(270, 65%, 49%)
CMYKcmyk(32%, 64.8%, 0%, 51%)
CIE-LABlab(27.33, 35.47, -38.91)
CIE-LCHlch(27.33, 52.65, 312.35°)
OKLaboklab(38.89% 0.0748 -0.1102)
OKLCHoklch(38.89% 0.133 304.2)
XYZxyz(8.3478, 5.2134, 19.9646)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C7D #547D2C
analogous
#2C2C7D #552C7D #7D2C7C
triadic
#552C7D #7D552C #2C7D55
tetradic
#552C7D #7D2C2C #547D2C #2C7C7D
square
#552C7D #7D2C2C #547D2C #2C7C7D
split-complementary
#552C7D #7C7D2C #2C7D2C
monochromatic
#170C22 #361C50 #552C7D #743CAA #925DC6

Accessibility & contrast

On white

10.28
#552C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#552C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C7D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C7D#FFFFFF#000000##FFFFFF
##552C7D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552c7d;
/* rgb */ color: rgb(85, 44, 125);
/* oklch */ color: oklch(38.9% 0.133 304.2);
Tailwind
colors: {
  custom: {
    50: '#8868a3',
    500: '#552c7d',
    950: '#000000',
  },
}
SCSS
$custom: #552c7d;
$custom-light: #8868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552c7d",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 270.37,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.1332,
    "h": 304.2
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#552C7D
secondary
#82AC59
accent
#D85093
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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