#552A98#552A98

#552A98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.168 H 295.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#552A98
RGBrgb(85, 42, 152)
HSLhsl(263, 57%, 38%)
HSVhsv(263, 72%, 60%)
CMYKcmyk(44.1%, 72.4%, 0%, 40.4%)
CIE-LABlab(29.04, 43.78, -52.90)
CIE-LCHlch(29.04, 68.67, 309.61°)
OKLaboklab(40.77% 0.0735 -0.1514)
OKLCHoklch(40.77% 0.168 295.9)
XYZxyz(10.2403, 5.8540, 30.2901)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A98 #6D982A
analogous
#2A3698 #552A98 #8C2A98
triadic
#552A98 #98552A #2A9855
tetradic
#552A98 #982A36 #6D982A #2A988C
square
#552A98 #982A36 #6D982A #2A988C
split-complementary
#552A98 #988C2A #36982A
monochromatic
#1F1038 #3A1D68 #552A98 #7037C8 #9267D5

Accessibility & contrast

On white

9.67
#552A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#552A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A98
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A98#FFFFFF#000000##FFFFFF
##552A981.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552a98;
/* rgb */ color: rgb(85, 42, 152);
/* oklch */ color: oklch(40.8% 0.168 295.9);
Tailwind
colors: {
  custom: {
    50: '#8b67b7',
    500: '#552a98',
    950: '#000000',
  },
}
SCSS
$custom: #552a98;
$custom-light: #8b67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552a98",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 263.455,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.16823,
    "h": 295.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#552A98
secondary
#99BB62
accent
#E048A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552A98

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

Preview Lab → · Contrast checker → · Palette generator →

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