#552196#552196

#552196 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.176 H 297.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#552196
RGBrgb(85, 33, 150)
HSLhsl(267, 64%, 36%)
HSVhsv(267, 78%, 59%)
CMYKcmyk(43.3%, 78%, 0%, 41.2%)
CIE-LABlab(27.35, 47.53, -54.43)
CIE-LCHlch(27.35, 72.27, 311.13°)
OKLaboklab(39.53% 0.0823 -0.1558)
OKLCHoklch(39.53% 0.176 297.8)
XYZxyz(9.7938, 5.2208, 29.3400)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552196 #629621
analogous
#212796 #552196 #8F2196
triadic
#552196 #965521 #219655
tetradic
#552196 #962127 #629621 #21968F
square
#552196 #962127 #629621 #21968F
split-complementary
#552196 #968F21 #279621
monochromatic
#1C0B32 #391664 #552196 #712CC8 #9157DA

Accessibility & contrast

On white

10.27
#552196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#552196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552196
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552196#FFFFFF#000000##FFFFFF
##5521961.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#44405B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552196;
/* rgb */ color: rgb(85, 33, 150);
/* oklch */ color: oklch(39.5% 0.176 297.8);
Tailwind
colors: {
  custom: {
    50: '#8b62b6',
    500: '#552196',
    950: '#000000',
  },
}
SCSS
$custom: #552196;
$custom-light: #8b62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552196",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 266.667,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.17617,
    "h": 297.8
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#552196
secondary
#8FBE55
accent
#E7419D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552196

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

Preview Lab → · Contrast checker → · Palette generator →

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