#552CA2#552CA2

#552CA2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.178 H 293.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#552CA2
RGBrgb(85, 44, 162)
HSLhsl(261, 57%, 40%)
HSVhsv(261, 73%, 64%)
CMYKcmyk(47.5%, 72.8%, 0%, 36.5%)
CIE-LABlab(30.26, 45.51, -57.00)
CIE-LCHlch(30.26, 72.94, 308.60°)
OKLaboklab(41.9% 0.0694 -0.1634)
OKLCHoklch(41.9% 0.178 293)
XYZxyz(11.1668, 6.3409, 34.8110)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552CA2 #79A22C
analogous
#2C3EA2 #552CA2 #902CA2
triadic
#552CA2 #A2552C #2CA255
tetradic
#552CA2 #A22C3E #79A22C #2CA290
square
#552CA2 #A22C3E #79A22C #2CA290
split-complementary
#552CA2 #A2902C #3EA22C
monochromatic
#221242 #3C1F72 #552CA2 #7040CB #9470D8

Accessibility & contrast

On white

9.26
#552CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#552CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552CA2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552CA2#FFFFFF#000000##FFFFFF
##552CA21.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#3E4B64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552ca2;
/* rgb */ color: rgb(85, 44, 162);
/* oklch */ color: oklch(41.9% 0.178 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c69be',
    500: '#552ca2',
    950: '#000000',
  },
}
SCSS
$custom: #552ca2;
$custom-light: #8c69be;
$custom-dark: #000000;
JSON
{
  "hex": "#552ca2",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 260.847,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.17754,
    "h": 293
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#552CA2
secondary
#A2BF6A
accent
#E147AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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