#552C7C#552C7C

#552C7C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.132 H 304.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#552C7C
RGBrgb(85, 44, 124)
HSLhsl(271, 48%, 33%)
HSVhsv(271, 65%, 49%)
CMYKcmyk(31.5%, 64.5%, 0%, 51.4%)
CIE-LABlab(27.26, 35.21, -38.39)
CIE-LCHlch(27.26, 52.09, 312.52°)
OKLaboklab(38.81% 0.0749 -0.1087)
OKLCHoklch(38.81% 0.132 304.6)
XYZxyz(8.2843, 5.1879, 19.6298)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C7C #537C2C
analogous
#2D2C7C #552C7C #7C2C7B
triadic
#552C7C #7C552C #2C7C55
tetradic
#552C7C #7C2D2C #537C2C #2C7B7C
square
#552C7C #7C2D2C #537C2C #2C7B7C
split-complementary
#552C7C #7B7C2C #2C7C2D
monochromatic
#170C22 #361C4F #552C7C #743CA9 #935DC5

Accessibility & contrast

On white

10.31
#552C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552C7C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C7C#FFFFFF#000000##FFFFFF
##552C7C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#18407A
Tritanopia (blue-blind)
#4E3D4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552c7c;
/* rgb */ color: rgb(85, 44, 124);
/* oklch */ color: oklch(38.8% 0.132 304.6);
Tailwind
colors: {
  custom: {
    50: '#8868a2',
    500: '#552c7c',
    950: '#000000',
  },
}
SCSS
$custom: #552c7c;
$custom-light: #8868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552c7c",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 270.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.13198,
    "h": 304.6
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#552C7C
secondary
#81AC58
accent
#D75192
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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