#552479#552479

#552479 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.140 H 307.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#552479
RGBrgb(85, 36, 121)
HSLhsl(275, 54%, 31%)
HSVhsv(275, 70%, 47%)
CMYKcmyk(29.8%, 70.2%, 0%, 52.5%)
CIE-LABlab(25.48, 38.73, -39.36)
CIE-LCHlch(25.48, 55.22, 314.54°)
OKLaboklab(37.46% 0.0851 -0.1115)
OKLCHoklch(37.46% 0.14 307.3)
XYZxyz(7.8277, 4.5736, 18.5559)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552479 #487924
analogous
#2A2479 #552479 #792472
triadic
#552479 #795524 #247955
tetradic
#552479 #792A24 #487924 #247279
square
#552479 #792A24 #487924 #247279
split-complementary
#552479 #727924 #24792A
monochromatic
#13081B #34164A #552479 #7632A8 #954DCA

Accessibility & contrast

On white

10.97
#552479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#552479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552479
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552479#FFFFFF#000000##FFFFFF
##5524791.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#0F3D77
Tritanopia (blue-blind)
#4F364B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #552479;
/* rgb */ color: rgb(85, 36, 121);
/* oklch */ color: oklch(37.5% 0.140 307.3);
Tailwind
colors: {
  custom: {
    50: '#8863a0',
    500: '#552479',
    950: '#000000',
  },
}
SCSS
$custom: #552479;
$custom-light: #8863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552479",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 274.588,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.14027,
    "h": 307.3
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#552479
secondary
#75AC4D
accent
#DE4A89
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #552479

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

Preview Lab → · Contrast checker → · Palette generator →

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