#552AB7#552AB7

#552AB7 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.204 H 288.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#552AB7
RGBrgb(85, 42, 183)
HSLhsl(258, 63%, 44%)
HSVhsv(258, 77%, 72%)
CMYKcmyk(53.6%, 77%, 0%, 28.2%)
CIE-LABlab(31.82, 52.28, -67.02)
CIE-LCHlch(31.82, 85.00, 307.95°)
OKLaboklab(43.58% 0.0657 -0.1928)
OKLCHoklch(43.58% 0.204 288.8)
XYZxyz(13.1190, 7.0055, 45.4515)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AB7 #8CB72A
analogous
#2A46B7 #552AB7 #9C2AB7
triadic
#552AB7 #B7552A #2AB755
tetradic
#552AB7 #B72A46 #8CB72A #2AB79C
square
#552AB7 #B72A46 #8CB72A #2AB79C
split-complementary
#552AB7 #B79C2A #46B72A
monochromatic
#271353 #3E1F85 #552AB7 #7449D5 #9A7BE1

Accessibility & contrast

On white

8.75
#552AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#552AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AB7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AB7#FFFFFF#000000##FFFFFF
##552AB71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#2E526F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #552ab7;
/* rgb */ color: rgb(85, 42, 183);
/* oklch */ color: oklch(43.6% 0.204 288.8);
Tailwind
colors: {
  custom: {
    50: '#8f69ce',
    500: '#552ab7',
    950: '#000000',
  },
}
SCSS
$custom: #552ab7;
$custom-light: #8f69ce;
$custom-dark: #000000;
JSON
{
  "hex": "#552ab7",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 258.298,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4358,
    "c": 0.20366,
    "h": 288.8
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#552AB7
secondary
#AFC974
accent
#E642B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #552AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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