#552EA0#552EA0

#552EA0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.173 H 293.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#552EA0
RGBrgb(85, 46, 160)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 63%)
CMYKcmyk(46.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(30.46, 43.91, -55.47)
CIE-LCHlch(30.46, 70.75, 308.37°)
OKLaboklab(41.99% 0.0679 -0.1589)
OKLCHoklch(41.99% 0.173 293.1)
XYZxyz(11.0667, 6.4230, 33.9076)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA0 #79A02E
analogous
#2E40A0 #552EA0 #8E2EA0
triadic
#552EA0 #A0552E #2EA055
tetradic
#552EA0 #A02E40 #79A02E #2EA08E
square
#552EA0 #A02E40 #79A02E #2EA08E
split-complementary
#552EA0 #A08E2E #40A02E
monochromatic
#221341 #3C2070 #552EA0 #7042C9 #9472D6

Accessibility & contrast

On white

9.19
#552EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552EA0
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA0#FFFFFF#000000##FFFFFF
##552EA01.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#3F4B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ea0;
/* rgb */ color: rgb(85, 46, 160);
/* oklch */ color: oklch(42.0% 0.173 293.1);
Tailwind
colors: {
  custom: {
    50: '#8c6abd',
    500: '#552ea0',
    950: '#000000',
  },
}
SCSS
$custom: #552ea0;
$custom-light: #8c6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea0",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 260.526,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.17281,
    "h": 293.1
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#552EA0
secondary
#A2BE6C
accent
#DF49AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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