#552096#552096

#552096 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.177 H 298.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#552096
RGBrgb(85, 32, 150)
HSLhsl(267, 65%, 36%)
HSVhsv(267, 79%, 59%)
CMYKcmyk(43.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(27.20, 47.97, -54.68)
CIE-LCHlch(27.20, 72.74, 311.26°)
OKLaboklab(39.42% 0.0831 -0.1565)
OKLCHoklch(39.42% 0.177 298)
XYZxyz(9.7664, 5.1662, 29.3309)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552096 #619620
analogous
#202696 #552096 #902096
triadic
#552096 #965520 #209655
tetradic
#552096 #962026 #619620 #209690
square
#552096 #962026 #619620 #209690
split-complementary
#552096 #969020 #269620
monochromatic
#1C0A31 #381564 #552096 #722BC8 #9156DB

Accessibility & contrast

On white

10.33
#552096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#552096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552096
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552096#FFFFFF#000000##FFFFFF
##5520961.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#44405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552096;
/* rgb */ color: rgb(85, 32, 150);
/* oklch */ color: oklch(39.4% 0.177 298.0);
Tailwind
colors: {
  custom: {
    50: '#8c62b6',
    500: '#552096',
    950: '#000000',
  },
}
SCSS
$custom: #552096;
$custom-light: #8c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552096",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 266.949,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39422,
    "c": 0.1772,
    "h": 298
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#552096
secondary
#8EBE53
accent
#E8409C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552096

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

Preview Lab → · Contrast checker → · Palette generator →

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