#552CA5#552CA5

#552CA5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.181 H 292.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#552CA5
RGBrgb(85, 44, 165)
HSLhsl(260, 58%, 41%)
HSVhsv(260, 73%, 65%)
CMYKcmyk(48.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(30.52, 46.34, -58.39)
CIE-LCHlch(30.52, 74.54, 308.43°)
OKLaboklab(42.16% 0.0688 -0.1675)
OKLCHoklch(42.16% 0.181 292.3)
XYZxyz(11.4366, 6.4489, 36.2322)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552CA5 #7CA52C
analogous
#2C3FA5 #552CA5 #912CA5
triadic
#552CA5 #A5552C #2CA555
tetradic
#552CA5 #A52C3F #7CA52C #2CA591
square
#552CA5 #A52C3F #7CA52C #2CA591
split-complementary
#552CA5 #A5912C #3FA52C
monochromatic
#231244 #3C1F75 #552CA5 #7142CD #9572D9

Accessibility & contrast

On white

9.17
#552CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#552CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552CA5
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552CA5#FFFFFF#000000##FFFFFF
##552CA51.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#3C4C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ca5;
/* rgb */ color: rgb(85, 44, 165);
/* oklch */ color: oklch(42.2% 0.181 292.3);
Tailwind
colors: {
  custom: {
    50: '#8d69c1',
    500: '#552ca5',
    950: '#000000',
  },
}
SCSS
$custom: #552ca5;
$custom-light: #8d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#552ca5",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 260.331,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.18103,
    "h": 292.3
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#552CA5
secondary
#A4C16C
accent
#E147AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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