#552F8A#552F8A

#552F8A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.145 H 298.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#552F8A
RGBrgb(85, 47, 138)
HSLhsl(265, 49%, 36%)
HSVhsv(265, 66%, 54%)
CMYKcmyk(38.4%, 65.9%, 0%, 45.9%)
CIE-LABlab(28.90, 37.27, -44.51)
CIE-LCHlch(28.90, 58.05, 309.94°)
OKLaboklab(40.32% 0.0701 -0.1267)
OKLCHoklch(40.32% 0.145 298.9)
XYZxyz(9.3491, 5.7992, 24.6666)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F8A #648A2F
analogous
#2F378A #552F8A #832F8A
triadic
#552F8A #8A552F #2F8A55
tetradic
#552F8A #8A2F37 #648A2F #2F8A83
square
#552F8A #8A2F37 #648A2F #2F8A83
split-complementary
#552F8A #8A832F #378A2F
monochromatic
#1D102F #391F5C #552F8A #713FB8 #9168CC

Accessibility & contrast

On white

9.72
#552F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#552F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F8A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F8A#FFFFFF#000000##FFFFFF
##552F8A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#494358
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552f8a;
/* rgb */ color: rgb(85, 47, 138);
/* oklch */ color: oklch(40.3% 0.145 298.9);
Tailwind
colors: {
  custom: {
    50: '#896aad',
    500: '#552f8a',
    950: '#000000',
  },
}
SCSS
$custom: #552f8a;
$custom-light: #896aad;
$custom-dark: #000000;
JSON
{
  "hex": "#552f8a",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 265.055,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.14477,
    "h": 298.9
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#552F8A
secondary
#91B362
accent
#D94F9F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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