#552F71#552F71

#552F71 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.113 H 308.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#552F71
RGBrgb(85, 47, 113)
HSLhsl(275, 41%, 31%)
HSVhsv(275, 58%, 44%)
CMYKcmyk(24.8%, 58.4%, 0%, 55.7%)
CIE-LABlab(27.18, 30.64, -31.55)
CIE-LCHlch(27.18, 43.98, 314.16°)
OKLaboklab(38.52% 0.0707 -0.0887)
OKLCHoklch(38.52% 0.113 308.6)
XYZxyz(7.7429, 5.1567, 16.2070)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F71 #4B712F
analogous
#342F71 #552F71 #712F6C
triadic
#552F71 #71552F #2F7155
tetradic
#552F71 #71342F #4B712F #2F6C71
square
#552F71 #71342F #4B712F #2F6C71
split-complementary
#552F71 #6C712F #2F7134
monochromatic
#140B1B #341D46 #552F71 #76419C #945EBC

Accessibility & contrast

On white

10.34
#552F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F71
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F71#FFFFFF#000000##FFFFFF
##552F711.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#513B4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552f71;
/* rgb */ color: rgb(85, 47, 113);
/* oklch */ color: oklch(38.5% 0.113 308.6);
Tailwind
colors: {
  custom: {
    50: '#87699a',
    500: '#552f71',
    950: '#000000',
  },
}
SCSS
$custom: #552f71;
$custom-light: #87699a;
$custom-dark: #000000;
JSON
{
  "hex": "#552f71",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 274.545,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.11342,
    "h": 308.6
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#552F71
secondary
#78A25A
accent
#D1578B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552F71

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

Preview Lab → · Contrast checker → · Palette generator →

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