#552EA7#552EA7

#552EA7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.181 H 291.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#552EA7
RGBrgb(85, 46, 167)
HSLhsl(259, 57%, 42%)
HSVhsv(259, 72%, 65%)
CMYKcmyk(49.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(31.06, 45.88, -58.72)
CIE-LCHlch(31.06, 74.51, 308.00°)
OKLaboklab(42.6% 0.0665 -0.1684)
OKLCHoklch(42.6% 0.181 291.5)
XYZxyz(11.6964, 6.6749, 37.2238)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA7 #80A72E
analogous
#2E43A7 #552EA7 #922EA7
triadic
#552EA7 #A7552E #2EA755
tetradic
#552EA7 #A72E43 #80A72E #2EA792
square
#552EA7 #A72E43 #80A72E #2EA792
split-complementary
#552EA7 #A7922E #43A72E
monochromatic
#241447 #3D2177 #552EA7 #7146CC #9676D9

Accessibility & contrast

On white

8.99
#552EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#552EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA7#FFFFFF#000000##FFFFFF
##552EA71.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#3A4E67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552ea7;
/* rgb */ color: rgb(85, 46, 167);
/* oklch */ color: oklch(42.6% 0.181 291.5);
Tailwind
colors: {
  custom: {
    50: '#8d6ac2',
    500: '#552ea7',
    950: '#000000',
  },
}
SCSS
$custom: #552ea7;
$custom-light: #8d6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea7",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 259.339,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.18109,
    "h": 291.5
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#552EA7
secondary
#A7C170
accent
#E048AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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