#552EA5#552EA5

#552EA5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.179 H 292.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#552EA5
RGBrgb(85, 46, 165)
HSLhsl(260, 56%, 41%)
HSVhsv(260, 72%, 65%)
CMYKcmyk(48.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(30.88, 45.31, -57.79)
CIE-LCHlch(30.88, 73.44, 308.10°)
OKLaboklab(42.42% 0.0669 -0.1657)
OKLCHoklch(42.42% 0.179 292)
XYZxyz(11.5129, 6.6015, 36.2576)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA5 #7EA52E
analogous
#2E43A5 #552EA5 #912EA5
triadic
#552EA5 #A5552E #2EA555
tetradic
#552EA5 #A52E43 #7EA52E #2EA591
square
#552EA5 #A52E43 #7EA52E #2EA591
split-complementary
#552EA5 #A5912E #43A52E
monochromatic
#241345 #3C2175 #552EA5 #7145CB #9675D8

Accessibility & contrast

On white

9.05
#552EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#552EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA5
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA5#FFFFFF#000000##FFFFFF
##552EA51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#3C4D66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552ea5;
/* rgb */ color: rgb(85, 46, 165);
/* oklch */ color: oklch(42.4% 0.179 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ac1',
    500: '#552ea5',
    950: '#000000',
  },
}
SCSS
$custom: #552ea5;
$custom-light: #8d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea5",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 259.664,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.17873,
    "h": 292
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #552EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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