#552B7E#552B7E

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

Color values

HEX#552B7E
RGBrgb(85, 43, 126)
HSLhsl(270, 49%, 33%)
HSVhsv(270, 66%, 49%)
CMYKcmyk(32.5%, 65.9%, 0%, 50.6%)
CIE-LABlab(27.20, 36.29, -39.75)
CIE-LCHlch(27.20, 53.82, 312.39°)
OKLaboklab(38.81% 0.076 -0.1127)
OKLCHoklch(38.81% 0.136 304)
XYZxyz(8.3752, 5.1654, 20.2904)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B7E #547E2B
analogous
#2B2B7E #552B7E #7E2B7D
triadic
#552B7E #7E552B #2B7E55
tetradic
#552B7E #7E2B2B #547E2B #2B7D7E
square
#552B7E #7E2B2B #547E2B #2B7D7E
split-complementary
#552B7E #7D7E2B #2B7E2B
monochromatic
#170C23 #361B50 #552B7E #743BAC #925CC7

Accessibility & contrast

On white

10.33
#552B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552B7E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B7E#FFFFFF#000000##FFFFFF
##552B7E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#4D3D50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552b7e;
/* rgb */ color: rgb(85, 43, 126);
/* oklch */ color: oklch(38.8% 0.136 304.0);
Tailwind
colors: {
  custom: {
    50: '#8867a4',
    500: '#552b7e',
    950: '#000000',
  },
}
SCSS
$custom: #552b7e;
$custom-light: #8867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#552b7e",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 270.361,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.13593,
    "h": 304
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#552B7E
secondary
#82AD58
accent
#D94F93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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