#552B7D#552B7D

#552B7D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.135 H 304.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#552B7D
RGBrgb(85, 43, 125)
HSLhsl(271, 49%, 33%)
HSVhsv(271, 66%, 49%)
CMYKcmyk(32%, 65.6%, 0%, 51%)
CIE-LABlab(27.13, 36.02, -39.24)
CIE-LCHlch(27.13, 53.27, 312.55°)
OKLaboklab(38.74% 0.0761 -0.1112)
OKLCHoklch(38.74% 0.135 304.4)
XYZxyz(8.3110, 5.1398, 19.9523)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B7D #537D2B
analogous
#2C2B7D #552B7D #7D2B7C
triadic
#552B7D #7D552B #2B7D55
tetradic
#552B7D #7D2C2B #537D2B #2B7C7D
square
#552B7D #7D2C2B #537D2B #2B7C7D
split-complementary
#552B7D #7C7D2B #2B7D2C
monochromatic
#170C22 #361B4F #552B7D #743BAB #935CC7

Accessibility & contrast

On white

10.36
#552B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#552B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B7D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B7D#FFFFFF#000000##FFFFFF
##552B7D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#15407B
Tritanopia (blue-blind)
#4E3C50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552b7d;
/* rgb */ color: rgb(85, 43, 125);
/* oklch */ color: oklch(38.7% 0.135 304.4);
Tailwind
colors: {
  custom: {
    50: '#8867a3',
    500: '#552b7d',
    950: '#000000',
  },
}
SCSS
$custom: #552b7d;
$custom-light: #8867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552b7d",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 270.732,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38739,
    "c": 0.13472,
    "h": 304.4
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#552B7D
secondary
#81AD57
accent
#D84F92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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