#552E8A#552E8A

#552E8A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.146 H 299.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#552E8A
RGBrgb(85, 46, 138)
HSLhsl(265, 50%, 36%)
HSVhsv(265, 67%, 54%)
CMYKcmyk(38.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(28.70, 37.83, -44.84)
CIE-LCHlch(28.70, 58.66, 310.15°)
OKLaboklab(40.17% 0.0713 -0.1277)
OKLCHoklch(40.17% 0.146 299.2)
XYZxyz(9.3096, 5.7202, 24.6535)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E8A #638A2E
analogous
#2E358A #552E8A #832E8A
triadic
#552E8A #8A552E #2E8A55
tetradic
#552E8A #8A2E35 #638A2E #2E8A83
square
#552E8A #8A2E35 #638A2E #2E8A83
split-complementary
#552E8A #8A832E #358A2E
monochromatic
#1C0F2E #391F5C #552E8A #713DB8 #9166CC

Accessibility & contrast

On white

9.79
#552E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#552E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E8A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E8A#FFFFFF#000000##FFFFFF
##552E8A1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#494358
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552e8a;
/* rgb */ color: rgb(85, 46, 138);
/* oklch */ color: oklch(40.2% 0.146 299.2);
Tailwind
colors: {
  custom: {
    50: '#8969ad',
    500: '#552e8a',
    950: '#000000',
  },
}
SCSS
$custom: #552e8a;
$custom-light: #8969ad;
$custom-dark: #000000;
JSON
{
  "hex": "#552e8a",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 265.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.14621,
    "h": 299.2
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#552E8A
secondary
#90B361
accent
#DA4E9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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