#552299#552299

#552299 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.178 H 296.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#552299
RGBrgb(85, 34, 153)
HSLhsl(266, 64%, 37%)
HSVhsv(266, 78%, 60%)
CMYKcmyk(44.4%, 77.8%, 0%, 40%)
CIE-LABlab(27.78, 47.87, -55.58)
CIE-LCHlch(27.78, 73.35, 310.74°)
OKLaboklab(39.91% 0.0806 -0.1592)
OKLCHoklch(39.91% 0.178 296.9)
XYZxyz(10.0666, 5.3750, 30.6379)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552299 #669922
analogous
#222B99 #552299 #912299
triadic
#552299 #995522 #229955
tetradic
#552299 #99222B #669922 #229991
square
#552299 #99222B #669922 #229991
split-complementary
#552299 #999122 #2B9922
monochromatic
#1D0C35 #391767 #552299 #712DCB #925BDB

Accessibility & contrast

On white

10.12
#552299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552299
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552299#FFFFFF#000000##FFFFFF
##5522991.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552299;
/* rgb */ color: rgb(85, 34, 153);
/* oklch */ color: oklch(39.9% 0.178 296.9);
Tailwind
colors: {
  custom: {
    50: '#8c63b8',
    500: '#552299',
    950: '#000000',
  },
}
SCSS
$custom: #552299;
$custom-light: #8c63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#552299",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.17839,
    "h": 296.9
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#552299
secondary
#93BF58
accent
#E741A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552299

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

Preview Lab → · Contrast checker → · Palette generator →

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