#552E7A#552E7A

#552E7A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.126 H 304.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#552E7A
RGBrgb(85, 46, 122)
HSLhsl(271, 45%, 33%)
HSVhsv(271, 62%, 48%)
CMYKcmyk(30.3%, 62.3%, 0%, 52.2%)
CIE-LABlab(27.55, 33.55, -36.67)
CIE-LCHlch(27.55, 49.70, 312.45°)
OKLaboklab(38.98% 0.0723 -0.1037)
OKLCHoklch(38.98% 0.126 304.9)
XYZxyz(8.2354, 5.2905, 18.9959)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E7A #537A2E
analogous
#2F2E7A #552E7A #7A2E79
triadic
#552E7A #7A552E #2E7A55
tetradic
#552E7A #7A2F2E #537A2E #2E797A
square
#552E7A #7A2F2E #537A2E #2E797A
split-complementary
#552E7A #797A2E #2E7A2F
monochromatic
#170C21 #361D4E #552E7A #743FA6 #9360C3

Accessibility & contrast

On white

10.20
#552E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E7A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E7A#FFFFFF#000000##FFFFFF
##552E7A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407C
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#4E3D4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e7a;
/* rgb */ color: rgb(85, 46, 122);
/* oklch */ color: oklch(39.0% 0.126 304.9);
Tailwind
colors: {
  custom: {
    50: '#8869a1',
    500: '#552e7a',
    950: '#000000',
  },
}
SCSS
$custom: #552e7a;
$custom-light: #8869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552e7a",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 270.789,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.12637,
    "h": 304.9
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#552E7A
secondary
#81AA5A
accent
#D55392
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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