#552198#552198

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

Color values

HEX#552198
RGBrgb(85, 33, 152)
HSLhsl(266, 64%, 36%)
HSVhsv(266, 78%, 60%)
CMYKcmyk(44.1%, 78.3%, 0%, 40.4%)
CIE-LABlab(27.53, 48.05, -55.37)
CIE-LCHlch(27.53, 73.31, 310.95°)
OKLaboklab(39.71% 0.0817 -0.1585)
OKLCHoklch(39.71% 0.178 297.3)
XYZxyz(9.9562, 5.2858, 30.1954)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552198 #649821
analogous
#212998 #552198 #912198
triadic
#552198 #985521 #219855
tetradic
#552198 #982129 #649821 #219891
square
#552198 #982129 #649821 #219891
split-complementary
#552198 #989121 #299821
monochromatic
#1D0B33 #391666 #552198 #712CCA #9159DB

Accessibility & contrast

On white

10.21
#552198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552198
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552198#FFFFFF#000000##FFFFFF
##5521981.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552198;
/* rgb */ color: rgb(85, 33, 152);
/* oklch */ color: oklch(39.7% 0.178 297.3);
Tailwind
colors: {
  custom: {
    50: '#8c63b7',
    500: '#552198',
    950: '#000000',
  },
}
SCSS
$custom: #552198;
$custom-light: #8c63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552198",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 266.218,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.17834,
    "h": 297.3
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#552198
secondary
#91BF56
accent
#E7409E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552198

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

Preview Lab → · Contrast checker → · Palette generator →

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