#552197#552197

#552197 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.177 H 297.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#552197
RGBrgb(85, 33, 151)
HSLhsl(266, 64%, 36%)
HSVhsv(266, 78%, 59%)
CMYKcmyk(43.7%, 78.1%, 0%, 40.8%)
CIE-LABlab(27.44, 47.79, -54.90)
CIE-LCHlch(27.44, 72.79, 311.04°)
OKLaboklab(39.62% 0.082 -0.1572)
OKLCHoklch(39.62% 0.177 297.6)
XYZxyz(9.8746, 5.2532, 29.7659)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552197 #639721
analogous
#212897 #552197 #902197
triadic
#552197 #975521 #219755
tetradic
#552197 #972128 #639721 #219790
square
#552197 #972128 #639721 #219790
split-complementary
#552197 #979021 #289721
monochromatic
#1C0B33 #391665 #552197 #712CC9 #9158DA

Accessibility & contrast

On white

10.24
#552197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552197
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552197#FFFFFF#000000##FFFFFF
##5521971.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#44415B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552197;
/* rgb */ color: rgb(85, 33, 151);
/* oklch */ color: oklch(39.6% 0.177 297.6);
Tailwind
colors: {
  custom: {
    50: '#8c62b7',
    500: '#552197',
    950: '#000000',
  },
}
SCSS
$custom: #552197;
$custom-light: #8c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552197",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 266.441,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.17726,
    "h": 297.6
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#552197
secondary
#90BE55
accent
#E7419E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552197

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

Preview Lab → · Contrast checker → · Palette generator →

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