#552AA2#552AA2

#552AA2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.180 H 293.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#552AA2
RGBrgb(85, 42, 162)
HSLhsl(262, 59%, 40%)
HSVhsv(262, 74%, 64%)
CMYKcmyk(47.5%, 74.1%, 0%, 36.5%)
CIE-LABlab(29.90, 46.51, -57.59)
CIE-LCHlch(29.90, 74.02, 308.93°)
OKLaboklab(41.65% 0.0712 -0.1651)
OKLCHoklch(41.65% 0.18 293.3)
XYZxyz(11.0941, 6.1955, 34.7867)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA2 #77A22A
analogous
#2A3BA2 #552AA2 #912AA2
triadic
#552AA2 #A2552A #2AA255
tetradic
#552AA2 #A22A3B #77A22A #2AA291
square
#552AA2 #A22A3B #77A22A #2AA291
split-complementary
#552AA2 #A2912A #3BA22A
monochromatic
#221141 #3B1D71 #552AA2 #703DCD #946DD9

Accessibility & contrast

On white

9.38
#552AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#552AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA2#FFFFFF#000000##FFFFFF
##552AA21.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#3E4A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552aa2;
/* rgb */ color: rgb(85, 42, 162);
/* oklch */ color: oklch(41.6% 0.180 293.3);
Tailwind
colors: {
  custom: {
    50: '#8c68bf',
    500: '#552aa2',
    950: '#000000',
  },
}
SCSS
$custom: #552aa2;
$custom-light: #8c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa2",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 261.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.17982,
    "h": 293.3
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#552AA2
secondary
#A0C068
accent
#E246AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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