#552AAB#552AAB

#552AAB is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.190 H 291.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#552AAB
RGBrgb(85, 42, 171)
HSLhsl(260, 61%, 42%)
HSVhsv(260, 75%, 67%)
CMYKcmyk(50.3%, 75.4%, 0%, 32.9%)
CIE-LABlab(30.70, 48.98, -61.69)
CIE-LCHlch(30.70, 78.77, 308.45°)
OKLaboklab(42.46% 0.069 -0.1771)
OKLCHoklch(42.46% 0.19 291.3)
XYZxyz(11.9229, 6.5270, 39.1518)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AAB #80AB2A
analogous
#2A40AB #552AAB #962AAB
triadic
#552AAB #AB552A #2AAB55
tetradic
#552AAB #AB2A40 #80AB2A #2AAB96
square
#552AAB #AB2A40 #80AB2A #2AAB96
split-complementary
#552AAB #AB962A #40AB2A
monochromatic
#241249 #3D1E7A #552AAB #7142D1 #9673DD

Accessibility & contrast

On white

9.11
#552AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#552AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AAB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AAB#FFFFFF#000000##FFFFFF
##552AAB1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#384D69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552aab;
/* rgb */ color: rgb(85, 42, 171);
/* oklch */ color: oklch(42.5% 0.190 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e68c5',
    500: '#552aab',
    950: '#000000',
  },
}
SCSS
$custom: #552aab;
$custom-light: #8e68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#552aab",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.19012,
    "h": 291.3
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#552AAB
secondary
#A7C46D
accent
#E444AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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