#552164#552164

#552164 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.121 H 318.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#552164
RGBrgb(85, 33, 100)
HSLhsl(287, 50%, 26%)
HSVhsv(287, 67%, 39%)
CMYKcmyk(15%, 67%, 0%, 60.8%)
CIE-LABlab(23.47, 35.28, -29.07)
CIE-LCHlch(23.47, 45.71, 320.52°)
OKLaboklab(35.55% 0.0902 -0.0813)
OKLCHoklch(35.55% 0.121 318)
XYZxyz(6.5901, 3.9394, 12.4674)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552164 #306421
analogous
#332164 #552164 #642151
triadic
#552164 #645521 #216455
tetradic
#552164 #643321 #306421 #215164
square
#552164 #643321 #306421 #215164
split-complementary
#552164 #516421 #216433
monochromatic
#140817 #2E1236 #552164 #7C3092 #A340C0

Accessibility & contrast

On white

11.75
#552164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#552164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552164
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552164#FFFFFF#000000##FFFFFF
##5521641.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3566
Deuteranopia (green-blind)
#243A62
Tritanopia (blue-blind)
#552D3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #552164;
/* rgb */ color: rgb(85, 33, 100);
/* oklch */ color: oklch(35.5% 0.121 318.0);
Tailwind
colors: {
  custom: {
    50: '#876090',
    500: '#552164',
    950: '#000000',
  },
}
SCSS
$custom: #552164;
$custom-light: #876090;
$custom-dark: #000000;
JSON
{
  "hex": "#552164",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 286.567,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.12142,
    "h": 318
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#552164
secondary
#5B9849
accent
#DA4E6D
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #552164

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

Preview Lab → · Contrast checker → · Palette generator →

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