#552179#552179

#552179 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.144 H 307.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#552179
RGBrgb(85, 33, 121)
HSLhsl(275, 57%, 30%)
HSVhsv(275, 73%, 47%)
CMYKcmyk(29.8%, 72.7%, 0%, 52.5%)
CIE-LABlab(24.95, 40.22, -40.22)
CIE-LCHlch(24.95, 56.88, 315.00°)
OKLaboklab(37.08% 0.0886 -0.114)
OKLCHoklch(37.08% 0.144 307.8)
XYZxyz(7.7406, 4.3996, 18.5269)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552179 #457921
analogous
#292179 #552179 #792171
triadic
#552179 #795521 #217955
tetradic
#552179 #792921 #457921 #217179
square
#552179 #792921 #457921 #217179
split-complementary
#552179 #717921 #217929
monochromatic
#110719 #331449 #552179 #772EA9 #9647CD

Accessibility & contrast

On white

11.17
#552179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552179
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552179#FFFFFF#000000##FFFFFF
##5521791.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#093C77
Tritanopia (blue-blind)
#4F354A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #552179;
/* rgb */ color: rgb(85, 33, 121);
/* oklch */ color: oklch(37.1% 0.144 307.8);
Tailwind
colors: {
  custom: {
    50: '#8961a0',
    500: '#552179',
    950: '#000000',
  },
}
SCSS
$custom: #552179;
$custom-light: #8961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552179",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 275.455,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37081,
    "c": 0.14438,
    "h": 307.8
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#552179
secondary
#72AC4A
accent
#E04786
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #552179

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

Preview Lab → · Contrast checker → · Palette generator →

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