#552099#552099

#552099 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.180 H 297.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#552099
RGBrgb(85, 32, 153)
HSLhsl(266, 65%, 36%)
HSVhsv(266, 79%, 60%)
CMYKcmyk(44.4%, 79.1%, 0%, 40%)
CIE-LABlab(27.47, 48.74, -56.08)
CIE-LCHlch(27.47, 74.30, 311.00°)
OKLaboklab(39.7% 0.0823 -0.1606)
OKLCHoklch(39.7% 0.18 297.1)
XYZxyz(10.0111, 5.2640, 30.6194)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552099 #649920
analogous
#202899 #552099 #922099
triadic
#552099 #995520 #209955
tetradic
#552099 #992028 #649920 #209992
square
#552099 #992028 #649920 #209992
split-complementary
#552099 #999220 #289920
monochromatic
#1D0B34 #391566 #552099 #712BCC #9157DC

Accessibility & contrast

On white

10.23
#552099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552099
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552099#FFFFFF#000000##FFFFFF
##5520991.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#43415C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552099;
/* rgb */ color: rgb(85, 32, 153);
/* oklch */ color: oklch(39.7% 0.180 297.1);
Tailwind
colors: {
  custom: {
    50: '#8c62b8',
    500: '#552099',
    950: '#000000',
  },
}
SCSS
$custom: #552099;
$custom-light: #8c62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#552099",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 266.281,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.18043,
    "h": 297.1
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#552099
secondary
#91C055
accent
#E83F9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552099

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

Preview Lab → · Contrast checker → · Palette generator →

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