#552F98#552F98

#552F98 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.162 H 294.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#552F98
RGBrgb(85, 47, 152)
HSLhsl(262, 53%, 39%)
HSVhsv(262, 69%, 60%)
CMYKcmyk(44.1%, 69.1%, 0%, 40.4%)
CIE-LABlab(29.99, 41.14, -51.36)
CIE-LCHlch(29.99, 65.81, 308.70°)
OKLaboklab(41.45% 0.0683 -0.1468)
OKLCHoklch(41.45% 0.162 294.9)
XYZxyz(10.4288, 6.2311, 30.3529)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F98 #72982F
analogous
#2F3E98 #552F98 #8A2F98
triadic
#552F98 #98552F #2F9855
tetradic
#552F98 #982F3E #72982F #2F988A
square
#552F98 #982F3E #72982F #2F988A
split-complementary
#552F98 #988A2F #3E982F
monochromatic
#21123B #3B2169 #552F98 #7040C4 #936FD2

Accessibility & contrast

On white

9.35
#552F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#552F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F98
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F98#FFFFFF#000000##FFFFFF
##552F981.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#43485F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552f98;
/* rgb */ color: rgb(85, 47, 152);
/* oklch */ color: oklch(41.4% 0.162 294.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ab7',
    500: '#552f98',
    950: '#000000',
  },
}
SCSS
$custom: #552f98;
$custom-light: #8b6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#552f98",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 261.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.16194,
    "h": 294.9
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#552F98
secondary
#9DBA69
accent
#DC4CA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #552F98

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

Preview Lab → · Contrast checker → · Palette generator →

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