#552EA6#552EA6

#552EA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.180 H 291.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#552EA6
RGBrgb(85, 46, 166)
HSLhsl(260, 57%, 42%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(48.8%, 72.3%, 0%, 34.9%)
CIE-LABlab(30.97, 45.60, -58.26)
CIE-LCHlch(30.97, 73.98, 308.05°)
OKLaboklab(42.51% 0.0667 -0.1671)
OKLCHoklch(42.51% 0.18 291.8)
XYZxyz(11.6043, 6.6380, 36.7388)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA6 #7FA62E
analogous
#2E43A6 #552EA6 #912EA6
triadic
#552EA6 #A6552E #2EA655
tetradic
#552EA6 #A62E43 #7FA62E #2EA691
square
#552EA6 #A62E43 #7FA62E #2EA691
split-complementary
#552EA6 #A6912E #43A62E
monochromatic
#241346 #3C2176 #552EA6 #7146CC #9676D9

Accessibility & contrast

On white

9.02
#552EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#552EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA6
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA6#FFFFFF#000000##FFFFFF
##552EA61.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#3B4D67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552ea6;
/* rgb */ color: rgb(85, 46, 166);
/* oklch */ color: oklch(42.5% 0.180 291.8);
Tailwind
colors: {
  custom: {
    50: '#8d6ac1',
    500: '#552ea6',
    950: '#000000',
  },
}
SCSS
$custom: #552ea6;
$custom-light: #8d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea6",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 259.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.17991,
    "h": 291.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#552EA6
secondary
#A6C16F
accent
#E048AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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