#552AA5#552AA5

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

Color values

HEX#552AA5
RGBrgb(85, 42, 165)
HSLhsl(261, 59%, 41%)
HSVhsv(261, 75%, 65%)
CMYKcmyk(48.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(30.17, 47.33, -58.97)
CIE-LCHlch(30.17, 75.61, 308.75°)
OKLaboklab(41.92% 0.0705 -0.1691)
OKLCHoklch(41.92% 0.183 292.6)
XYZxyz(11.3639, 6.3034, 36.2079)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA5 #7AA52A
analogous
#2A3CA5 #552AA5 #922AA5
triadic
#552AA5 #A5552A #2AA555
tetradic
#552AA5 #A52A3C #7AA52A #2AA592
square
#552AA5 #A52A3C #7AA52A #2AA592
split-complementary
#552AA5 #A5922A #3CA52A
monochromatic
#231143 #3C1E74 #552AA5 #703ECE #956FDA

Accessibility & contrast

On white

9.29
#552AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#552AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA5
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA5#FFFFFF#000000##FFFFFF
##552AA51.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552aa5;
/* rgb */ color: rgb(85, 42, 165);
/* oklch */ color: oklch(41.9% 0.183 292.6);
Tailwind
colors: {
  custom: {
    50: '#8d68c1',
    500: '#552aa5',
    950: '#000000',
  },
}
SCSS
$custom: #552aa5;
$custom-light: #8d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa5",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 260.976,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.18327,
    "h": 292.6
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#552AA5
secondary
#A3C169
accent
#E345AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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