#552168#552168

#552168 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.126 H 315.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#552168
RGBrgb(85, 33, 104)
HSLhsl(284, 52%, 27%)
HSVhsv(284, 68%, 41%)
CMYKcmyk(18.3%, 68.3%, 0%, 59.2%)
CIE-LABlab(23.73, 36.19, -31.25)
CIE-LCHlch(23.73, 47.82, 319.18°)
OKLaboklab(35.82% 0.0901 -0.0877)
OKLCHoklch(35.82% 0.126 315.8)
XYZxyz(6.7885, 4.0187, 13.5121)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552168 #346821
analogous
#322168 #552168 #682158
triadic
#552168 #685521 #216855
tetradic
#552168 #683221 #346821 #215868
square
#552168 #683221 #346821 #215868
split-complementary
#552168 #586821 #216832
monochromatic
#130717 #2F123A #552168 #7B3096 #A041C3

Accessibility & contrast

On white

11.64
#552168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#552168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552168
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552168#FFFFFF#000000##FFFFFF
##5521681.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#542E41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #552168;
/* rgb */ color: rgb(85, 33, 104);
/* oklch */ color: oklch(35.8% 0.126 315.8);
Tailwind
colors: {
  custom: {
    50: '#876093',
    500: '#552168',
    950: '#000000',
  },
}
SCSS
$custom: #552168;
$custom-light: #876093;
$custom-dark: #000000;
JSON
{
  "hex": "#552168",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 283.944,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.12574,
    "h": 315.8
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#552168
secondary
#5F9C49
accent
#DB4D73
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #552168

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

Preview Lab → · Contrast checker → · Palette generator →

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