#552E9A#552E9A

#552E9A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.166 H 294.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#552E9A
RGBrgb(85, 46, 154)
HSLhsl(262, 54%, 39%)
HSVhsv(262, 70%, 60%)
CMYKcmyk(44.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(29.96, 42.24, -52.63)
CIE-LCHlch(29.96, 67.49, 308.75°)
OKLaboklab(41.48% 0.069 -0.1506)
OKLCHoklch(41.48% 0.166 294.6)
XYZxyz(10.5545, 6.2181, 31.2097)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E9A #739A2E
analogous
#2E3D9A #552E9A #8B2E9A
triadic
#552E9A #9A552E #2E9A55
tetradic
#552E9A #9A2E3D #739A2E #2E9A8B
square
#552E9A #9A2E3D #739A2E #2E9A8B
split-complementary
#552E9A #9A8B2E #3D9A2E
monochromatic
#21123C #3B206B #552E9A #703FC6 #936FD4

Accessibility & contrast

On white

9.36
#552E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#552E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E9A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E9A#FFFFFF#000000##FFFFFF
##552E9A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#424960
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552e9a;
/* rgb */ color: rgb(85, 46, 154);
/* oklch */ color: oklch(41.5% 0.166 294.6);
Tailwind
colors: {
  custom: {
    50: '#8b6ab9',
    500: '#552e9a',
    950: '#000000',
  },
}
SCSS
$custom: #552e9a;
$custom-light: #8b6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#552e9a",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 261.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.16564,
    "h": 294.6
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#552E9A
secondary
#9DBB69
accent
#DD4AA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #552E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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