#552AAA#552AAA

#552AAA is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.189 H 291.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#552AAA
RGBrgb(85, 42, 170)
HSLhsl(260, 60%, 42%)
HSVhsv(260, 75%, 67%)
CMYKcmyk(50%, 75.3%, 0%, 33.3%)
CIE-LABlab(30.61, 48.71, -61.24)
CIE-LCHlch(30.61, 78.25, 308.49°)
OKLaboklab(42.37% 0.0693 -0.1758)
OKLCHoklch(42.37% 0.189 291.5)
XYZxyz(11.8279, 6.4890, 38.6517)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AAA #7FAA2A
analogous
#2A3FAA #552AAA #952AAA
triadic
#552AAA #AA552A #2AAA55
tetradic
#552AAA #AA2A3F #7FAA2A #2AAA95
square
#552AAA #AA2A3F #7FAA2A #2AAA95
split-complementary
#552AAA #AA952A #3FAA2A
monochromatic
#241248 #3C1E79 #552AAA #7141D0 #9672DC

Accessibility & contrast

On white

9.14
#552AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#552AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AAA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AAA#FFFFFF#000000##FFFFFF
##552AAA1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#394D68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552aaa;
/* rgb */ color: rgb(85, 42, 170);
/* oklch */ color: oklch(42.4% 0.189 291.5);
Tailwind
colors: {
  custom: {
    50: '#8e68c4',
    500: '#552aaa',
    950: '#000000',
  },
}
SCSS
$custom: #552aaa;
$custom-light: #8e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#552aaa",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 260.156,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.18897,
    "h": 291.5
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#552AAA
secondary
#A6C36C
accent
#E444AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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