#552E71#552E71

#552E71 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.4% C 0.115 H 308.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#552E71
RGBrgb(85, 46, 113)
HSLhsl(275, 42%, 31%)
HSVhsv(275, 59%, 44%)
CMYKcmyk(24.8%, 59.3%, 0%, 55.7%)
CIE-LABlab(26.95, 31.23, -31.90)
CIE-LCHlch(26.95, 44.64, 314.39°)
OKLaboklab(38.35% 0.0722 -0.0897)
OKLCHoklch(38.35% 0.115 308.8)
XYZxyz(7.7034, 5.0777, 16.1939)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E71 #4A712E
analogous
#332E71 #552E71 #712E6B
triadic
#552E71 #71552E #2E7155
tetradic
#552E71 #71332E #4A712E #2E6B71
square
#552E71 #71332E #4A712E #2E6B71
split-complementary
#552E71 #6B712E #2E7133
monochromatic
#140B1A #341C46 #552E71 #76409C #955DBD

Accessibility & contrast

On white

10.42
#552E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552E71
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E71#FFFFFF#000000##FFFFFF
##552E711.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#513A4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552e71;
/* rgb */ color: rgb(85, 46, 113);
/* oklch */ color: oklch(38.4% 0.115 308.8);
Tailwind
colors: {
  custom: {
    50: '#87689a',
    500: '#552e71',
    950: '#000000',
  },
}
SCSS
$custom: #552e71;
$custom-light: #87689a;
$custom-dark: #000000;
JSON
{
  "hex": "#552e71",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 274.925,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38352,
    "c": 0.11513,
    "h": 308.8
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#552E71
secondary
#77A258
accent
#D2568A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552E71

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

Preview Lab → · Contrast checker → · Palette generator →

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