#552978#552978

#552978 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.132 H 306.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#552978
RGBrgb(85, 41, 120)
HSLhsl(273, 49%, 32%)
HSVhsv(273, 66%, 47%)
CMYKcmyk(29.2%, 65.8%, 0%, 52.9%)
CIE-LABlab(26.37, 35.84, -37.30)
CIE-LCHlch(26.37, 51.72, 313.86°)
OKLaboklab(38.08% 0.079 -0.1055)
OKLCHoklch(38.08% 0.132 306.8)
XYZxyz(7.9287, 4.8733, 18.2886)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552978 #4C7829
analogous
#2E2978 #552978 #782974
triadic
#552978 #785529 #297855
tetradic
#552978 #782E29 #4C7829 #297478
square
#552978 #782E29 #4C7829 #297478
split-complementary
#552978 #747829 #29782E
monochromatic
#140A1D #35194A #552978 #7539A6 #9456C5

Accessibility & contrast

On white

10.64
#552978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#552978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552978
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552978#FFFFFF#000000##FFFFFF
##5529781.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#193F76
Tritanopia (blue-blind)
#4F394C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552978;
/* rgb */ color: rgb(85, 41, 120);
/* oklch */ color: oklch(38.1% 0.132 306.8);
Tailwind
colors: {
  custom: {
    50: '#88669f',
    500: '#552978',
    950: '#000000',
  },
}
SCSS
$custom: #552978;
$custom-light: #88669f;
$custom-dark: #000000;
JSON
{
  "hex": "#552978",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 273.418,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.13175,
    "h": 306.8
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#552978
secondary
#79AA53
accent
#D94F8C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552978

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

Preview Lab → · Contrast checker → · Palette generator →

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