#552B7C#552B7C

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

Color values

HEX#552B7C
RGBrgb(85, 43, 124)
HSLhsl(271, 49%, 33%)
HSVhsv(271, 65%, 49%)
CMYKcmyk(31.5%, 65.3%, 0%, 51.4%)
CIE-LABlab(27.06, 35.76, -38.72)
CIE-LCHlch(27.06, 52.71, 312.73°)
OKLaboklab(38.67% 0.0761 -0.1097)
OKLCHoklch(38.67% 0.134 304.8)
XYZxyz(8.2475, 5.1143, 19.6175)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B7C #527C2B
analogous
#2C2B7C #552B7C #7C2B7A
triadic
#552B7C #7C552B #2B7C55
tetradic
#552B7C #7C2C2B #527C2B #2B7A7C
square
#552B7C #7C2C2B #527C2B #2B7A7C
split-complementary
#552B7C #7A7C2B #2B7C2C
monochromatic
#170B21 #361B4F #552B7C #743BA9 #935BC6

Accessibility & contrast

On white

10.38
#552B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#552B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B7C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B7C#FFFFFF#000000##FFFFFF
##552B7C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552b7c;
/* rgb */ color: rgb(85, 43, 124);
/* oklch */ color: oklch(38.7% 0.134 304.8);
Tailwind
colors: {
  custom: {
    50: '#8867a2',
    500: '#552b7c',
    950: '#000000',
  },
}
SCSS
$custom: #552b7c;
$custom-light: #8867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552b7c",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 271.111,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.13351,
    "h": 304.8
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#552B7C
secondary
#80AC57
accent
#D85091
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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