#552399#552399

#552399 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.177 H 296.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#552399
RGBrgb(85, 35, 153)
HSLhsl(265, 63%, 37%)
HSVhsv(265, 77%, 60%)
CMYKcmyk(44.4%, 77.1%, 0%, 40%)
CIE-LABlab(27.93, 47.42, -55.32)
CIE-LCHlch(27.93, 72.86, 310.60°)
OKLaboklab(40.02% 0.0797 -0.1584)
OKLCHoklch(40.02% 0.177 296.7)
XYZxyz(10.0956, 5.4331, 30.6476)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552399 #679923
analogous
#232C99 #552399 #902399
triadic
#552399 #995523 #239955
tetradic
#552399 #99232C #679923 #239990
square
#552399 #99232C #679923 #239990
split-complementary
#552399 #999023 #2C9923
monochromatic
#1E0C35 #391867 #552399 #712ECB #925DDA

Accessibility & contrast

On white

10.06
#552399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#552399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552399
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552399#FFFFFF#000000##FFFFFF
##5523991.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#43435D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552399;
/* rgb */ color: rgb(85, 35, 153);
/* oklch */ color: oklch(40.0% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#8c64b8',
    500: '#552399',
    950: '#000000',
  },
}
SCSS
$custom: #552399;
$custom-light: #8c64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#552399",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 265.424,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.17734,
    "h": 296.7
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#552399
secondary
#94BE59
accent
#E642A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552399

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

Preview Lab → · Contrast checker → · Palette generator →

#552399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva