#552178#552178

#552178 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.143 H 308.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#552178
RGBrgb(85, 33, 120)
HSLhsl(276, 57%, 30%)
HSVhsv(276, 73%, 47%)
CMYKcmyk(29.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(24.88, 39.97, -39.71)
CIE-LCHlch(24.88, 56.34, 315.19°)
OKLaboklab(37% 0.0887 -0.1125)
OKLCHoklch(37% 0.143 308.3)
XYZxyz(7.6796, 4.3752, 18.2056)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552178 #447821
analogous
#292178 #552178 #782170
triadic
#552178 #785521 #217855
tetradic
#552178 #782921 #447821 #217078
square
#552178 #782921 #447821 #217078
split-complementary
#552178 #707821 #217829
monochromatic
#110718 #331448 #552178 #772EA8 #9747CC

Accessibility & contrast

On white

11.20
#552178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#552178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552178
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552178#FFFFFF#000000##FFFFFF
##5521781.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#0C3C76
Tritanopia (blue-blind)
#50344A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #552178;
/* rgb */ color: rgb(85, 33, 120);
/* oklch */ color: oklch(37.0% 0.143 308.3);
Tailwind
colors: {
  custom: {
    50: '#8861a0',
    500: '#552178',
    950: '#000000',
  },
}
SCSS
$custom: #552178;
$custom-light: #8861a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552178",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 275.862,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.14328,
    "h": 308.3
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#552178
secondary
#71AB4A
accent
#E04885
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #552178

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

Preview Lab → · Contrast checker → · Palette generator →

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