#552AA8#552AA8

#552AA8 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.187 H 291.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#552AA8
RGBrgb(85, 42, 168)
HSLhsl(260, 60%, 41%)
HSVhsv(260, 75%, 66%)
CMYKcmyk(49.4%, 75%, 0%, 34.1%)
CIE-LABlab(30.43, 48.16, -60.34)
CIE-LCHlch(30.43, 77.20, 308.59°)
OKLaboklab(42.19% 0.0698 -0.1732)
OKLCHoklch(42.19% 0.187 291.9)
XYZxyz(11.6402, 6.4139, 37.6629)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA8 #7DA82A
analogous
#2A3EA8 #552AA8 #942AA8
triadic
#552AA8 #A8552A #2AA855
tetradic
#552AA8 #A82A3E #7DA82A #2AA894
square
#552AA8 #A82A3E #7DA82A #2AA894
split-complementary
#552AA8 #A8942A #3EA82A
monochromatic
#231246 #3C1E77 #552AA8 #7140CF #9571DB

Accessibility & contrast

On white

9.20
#552AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552AA8
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA8#FFFFFF#000000##FFFFFF
##552AA81.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#3A4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552aa8;
/* rgb */ color: rgb(85, 42, 168);
/* oklch */ color: oklch(42.2% 0.187 291.9);
Tailwind
colors: {
  custom: {
    50: '#8d68c3',
    500: '#552aa8',
    950: '#000000',
  },
}
SCSS
$custom: #552aa8;
$custom-light: #8d68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa8",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 260.476,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42186,
    "c": 0.18669,
    "h": 291.9
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #552AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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