#552D7E#552D7E

#552D7E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.133 H 303.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#552D7E
RGBrgb(85, 45, 126)
HSLhsl(270, 47%, 34%)
HSVhsv(270, 64%, 49%)
CMYKcmyk(32.5%, 64.3%, 0%, 50.6%)
CIE-LABlab(27.61, 35.17, -39.09)
CIE-LCHlch(27.61, 52.58, 311.98°)
OKLaboklab(39.11% 0.0735 -0.1107)
OKLCHoklch(39.11% 0.133 303.6)
XYZxyz(8.4497, 5.3144, 20.3153)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7E #567E2D
analogous
#2D2D7E #552D7E #7D2D7E
triadic
#552D7E #7E552D #2D7E55
tetradic
#552D7E #7E2D2D #567E2D #2D7E7D
square
#552D7E #7E2D2D #567E2D #2D7E7D
split-complementary
#552D7E #7E7D2D #2D7E2D
monochromatic
#180D24 #371D51 #552D7E #733DAB #925FC6

Accessibility & contrast

On white

10.18
#552D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D7E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7E#FFFFFF#000000##FFFFFF
##552D7E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#4D3E51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7e;
/* rgb */ color: rgb(85, 45, 126);
/* oklch */ color: oklch(39.1% 0.133 303.6);
Tailwind
colors: {
  custom: {
    50: '#8868a4',
    500: '#552d7e',
    950: '#000000',
  },
}
SCSS
$custom: #552d7e;
$custom-light: #8868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7e",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 269.63,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.13289,
    "h": 303.6
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#552D7E
secondary
#84AC5A
accent
#D75195
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D7E

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

Preview Lab → · Contrast checker → · Palette generator →

#552D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva