#552AA7#552AA7

#552AA7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.186 H 292.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#552AA7
RGBrgb(85, 42, 167)
HSLhsl(261, 60%, 41%)
HSVhsv(261, 75%, 65%)
CMYKcmyk(49.1%, 74.9%, 0%, 34.5%)
CIE-LABlab(30.34, 47.88, -59.88)
CIE-LCHlch(30.34, 76.67, 308.65°)
OKLaboklab(42.1% 0.07 -0.1718)
OKLCHoklch(42.1% 0.186 292.2)
XYZxyz(11.5474, 6.3768, 37.1741)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA7 #7CA72A
analogous
#2A3DA7 #552AA7 #932AA7
triadic
#552AA7 #A7552A #2AA755
tetradic
#552AA7 #A72A3D #7CA72A #2AA793
square
#552AA7 #A72A3D #7CA72A #2AA793
split-complementary
#552AA7 #A7932A #3DA72A
monochromatic
#231145 #3C1E76 #552AA7 #713FCF #9570DB

Accessibility & contrast

On white

9.23
#552AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#552AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA7#FFFFFF#000000##FFFFFF
##552AA71.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#3B4C66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552aa7;
/* rgb */ color: rgb(85, 42, 167);
/* oklch */ color: oklch(42.1% 0.186 292.2);
Tailwind
colors: {
  custom: {
    50: '#8d68c2',
    500: '#552aa7',
    950: '#000000',
  },
}
SCSS
$custom: #552aa7;
$custom-light: #8d68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa7",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 260.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.18555,
    "h": 292.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#552AA7
secondary
#A4C26B
accent
#E345AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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