#552AAF#552AAF

#552AAF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.195 H 290.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#552AAF
RGBrgb(85, 42, 175)
HSLhsl(259, 61%, 43%)
HSVhsv(259, 76%, 69%)
CMYKcmyk(51.4%, 76%, 0%, 31.4%)
CIE-LABlab(31.07, 50.08, -63.49)
CIE-LCHlch(31.07, 80.86, 308.27°)
OKLaboklab(42.83% 0.068 -0.1824)
OKLCHoklch(42.83% 0.195 290.4)
XYZxyz(12.3099, 6.6818, 41.1902)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AAF #84AF2A
analogous
#2A42AF #552AAF #972AAF
triadic
#552AAF #AF552A #2AAF55
tetradic
#552AAF #AF2A42 #84AF2A #2AAF97
square
#552AAF #AF2A42 #84AF2A #2AAF97
split-complementary
#552AAF #AF972A #42AF2A
monochromatic
#25124C #3D1E7E #552AAF #7244D2 #9775DE

Accessibility & contrast

On white

8.99
#552AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#552AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AAF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AAF#FFFFFF#000000##FFFFFF
##552AAF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#354F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552aaf;
/* rgb */ color: rgb(85, 42, 175);
/* oklch */ color: oklch(42.8% 0.195 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e68c8',
    500: '#552aaf',
    950: '#000000',
  },
}
SCSS
$custom: #552aaf;
$custom-light: #8e68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#552aaf",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 259.398,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.19466,
    "h": 290.4
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#552AAF
secondary
#AAC66F
accent
#E443B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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