#552DAB#552DAB

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

Color values

HEX#552DAB
RGBrgb(85, 45, 171)
HSLhsl(259, 58%, 42%)
HSVhsv(259, 74%, 67%)
CMYKcmyk(50.3%, 73.7%, 0%, 32.9%)
CIE-LABlab(31.23, 47.50, -60.84)
CIE-LCHlch(31.23, 77.19, 307.98°)
OKLaboklab(42.83% 0.0665 -0.1747)
OKLCHoklch(42.83% 0.187 290.8)
XYZxyz(12.0333, 6.7479, 39.1886)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552DAB #83AB2D
analogous
#2D44AB #552DAB #942DAB
triadic
#552DAB #AB552D #2DAB55
tetradic
#552DAB #AB2D44 #83AB2D #2DAB94
square
#552DAB #AB2D44 #83AB2D #2DAB94
split-complementary
#552DAB #AB942D #44AB2D
monochromatic
#25144A #3D207B #552DAB #7247CE #9777DB

Accessibility & contrast

On white

8.94
#552DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#552DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552DAB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552DAB#FFFFFF#000000##FFFFFF
##552DAB1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#384F69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552dab;
/* rgb */ color: rgb(85, 45, 171);
/* oklch */ color: oklch(42.8% 0.187 290.8);
Tailwind
colors: {
  custom: {
    50: '#8d6ac5',
    500: '#552dab',
    950: '#000000',
  },
}
SCSS
$custom: #552dab;
$custom-light: #8d6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#552dab",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 259.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.18688,
    "h": 290.8
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#552DAB
secondary
#A9C371
accent
#E246B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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