#552B98#552B98

#552B98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.167 H 295.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#552B98
RGBrgb(85, 43, 152)
HSLhsl(263, 56%, 38%)
HSVhsv(263, 72%, 60%)
CMYKcmyk(44.1%, 71.7%, 0%, 40.4%)
CIE-LABlab(29.22, 43.26, -52.60)
CIE-LCHlch(29.22, 68.11, 309.43°)
OKLaboklab(40.9% 0.0725 -0.1505)
OKLCHoklch(40.9% 0.167 295.7)
XYZxyz(10.2762, 5.9258, 30.3020)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B98 #6E982B
analogous
#2B3898 #552B98 #8B2B98
triadic
#552B98 #98552B #2B9855
tetradic
#552B98 #982B38 #6E982B #2B988B
square
#552B98 #982B38 #6E982B #2B988B
split-complementary
#552B98 #988B2B #38982B
monochromatic
#201039 #3A1E68 #552B98 #7039C7 #9269D5

Accessibility & contrast

On white

9.61
#552B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#552B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B98
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B98#FFFFFF#000000##FFFFFF
##552B981.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#43465E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552b98;
/* rgb */ color: rgb(85, 43, 152);
/* oklch */ color: oklch(40.9% 0.167 295.7);
Tailwind
colors: {
  custom: {
    50: '#8b68b7',
    500: '#552b98',
    950: '#000000',
  },
}
SCSS
$custom: #552b98;
$custom-light: #8b68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552b98",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 263.119,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.167,
    "h": 295.7
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#552B98
secondary
#99BB64
accent
#DF49A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552B98

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

Preview Lab → · Contrast checker → · Palette generator →

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