#552AB5#552AB5

#552AB5 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.201 H 289.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#552AB5
RGBrgb(85, 42, 181)
HSLhsl(259, 62%, 44%)
HSVhsv(259, 77%, 71%)
CMYKcmyk(53%, 76.8%, 0%, 29%)
CIE-LABlab(31.63, 51.73, -66.15)
CIE-LCHlch(31.63, 83.97, 308.03°)
OKLaboklab(43.39% 0.0663 -0.1902)
OKLCHoklch(43.39% 0.201 289.2)
XYZxyz(12.9123, 6.9228, 44.3630)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AB5 #8AB52A
analogous
#2A44B5 #552AB5 #9A2AB5
triadic
#552AB5 #B5552A #2AB555
tetradic
#552AB5 #B52A44 #8AB52A #2AB59A
square
#552AB5 #B52A44 #8AB52A #2AB59A
split-complementary
#552AB5 #B59A2A #44B52A
monochromatic
#261352 #3E1E83 #552AB5 #7348D4 #9979E0

Accessibility & contrast

On white

8.81
#552AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#552AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AB5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AB5#FFFFFF#000000##FFFFFF
##552AB51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#30516E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552ab5;
/* rgb */ color: rgb(85, 42, 181);
/* oklch */ color: oklch(43.4% 0.201 289.2);
Tailwind
colors: {
  custom: {
    50: '#8f69cc',
    500: '#552ab5',
    950: '#000000',
  },
}
SCSS
$custom: #552ab5;
$custom-light: #8f69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#552ab5",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 258.561,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.20142,
    "h": 289.2
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#552AB5
secondary
#AEC873
accent
#E542B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #552AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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