#552EA3#552EA3

#552EA3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.176 H 292.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#552EA3
RGBrgb(85, 46, 163)
HSLhsl(260, 56%, 41%)
HSVhsv(260, 72%, 64%)
CMYKcmyk(47.9%, 71.8%, 0%, 36.1%)
CIE-LABlab(30.71, 44.75, -56.87)
CIE-LCHlch(30.71, 72.37, 308.20°)
OKLaboklab(42.25% 0.0673 -0.163)
OKLCHoklch(42.25% 0.176 292.4)
XYZxyz(11.3323, 6.5292, 35.3064)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EA3 #7CA32E
analogous
#2E41A3 #552EA3 #8F2EA3
triadic
#552EA3 #A3552E #2EA355
tetradic
#552EA3 #A32E41 #7CA32E #2EA38F
square
#552EA3 #A32E41 #7CA32E #2EA38F
split-complementary
#552EA3 #A38F2E #41A32E
monochromatic
#231344 #3C2173 #552EA3 #7144CA #9574D8

Accessibility & contrast

On white

9.11
#552EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#552EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EA3
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EA3#FFFFFF#000000##FFFFFF
##552EA31.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#3D4C65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ea3;
/* rgb */ color: rgb(85, 46, 163);
/* oklch */ color: oklch(42.2% 0.176 292.4);
Tailwind
colors: {
  custom: {
    50: '#8c6abf',
    500: '#552ea3',
    950: '#000000',
  },
}
SCSS
$custom: #552ea3;
$custom-light: #8c6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#552ea3",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 260,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.17637,
    "h": 292.4
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#552EA3
secondary
#A4BF6D
accent
#DF49AD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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