#552AA3#552AA3

#552AA3 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.181 H 293.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#552AA3
RGBrgb(85, 42, 163)
HSLhsl(261, 59%, 40%)
HSVhsv(261, 74%, 64%)
CMYKcmyk(47.9%, 74.2%, 0%, 36.1%)
CIE-LABlab(29.99, 46.78, -58.05)
CIE-LCHlch(29.99, 74.55, 308.87°)
OKLaboklab(41.74% 0.071 -0.1664)
OKLCHoklch(41.74% 0.181 293.1)
XYZxyz(11.1833, 6.2312, 35.2567)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AA3 #78A32A
analogous
#2A3CA3 #552AA3 #912AA3
triadic
#552AA3 #A3552A #2AA355
tetradic
#552AA3 #A32A3C #78A32A #2AA391
square
#552AA3 #A32A3C #78A32A #2AA391
split-complementary
#552AA3 #A3912A #3CA32A
monochromatic
#221142 #3C1D72 #552AA3 #703DCD #946EDA

Accessibility & contrast

On white

9.35
#552AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#552AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AA3
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AA3#FFFFFF#000000##FFFFFF
##552AA31.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#3D4A64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552aa3;
/* rgb */ color: rgb(85, 42, 163);
/* oklch */ color: oklch(41.7% 0.181 293.1);
Tailwind
colors: {
  custom: {
    50: '#8d68bf',
    500: '#552aa3',
    950: '#000000',
  },
}
SCSS
$custom: #552aa3;
$custom-light: #8d68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#552aa3",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 261.322,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.18096,
    "h": 293.1
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#552AA3
secondary
#A1C068
accent
#E246AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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