#552BA1#552BA1

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

Color values

HEX#552BA1
RGBrgb(85, 43, 161)
HSLhsl(261, 58%, 40%)
HSVhsv(261, 73%, 63%)
CMYKcmyk(47.2%, 73.3%, 0%, 36.9%)
CIE-LABlab(29.99, 45.73, -56.83)
CIE-LCHlch(29.99, 72.95, 308.82°)
OKLaboklab(41.68% 0.0706 -0.1629)
OKLCHoklch(41.68% 0.178 293.4)
XYZxyz(11.0414, 6.2319, 34.3324)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA1 #77A12B
analogous
#2B3CA1 #552BA1 #902BA1
triadic
#552BA1 #A1552B #2BA155
tetradic
#552BA1 #A12B3C #77A12B #2BA190
square
#552BA1 #A12B3C #77A12B #2BA190
split-complementary
#552BA1 #A1902B #3CA12B
monochromatic
#221140 #3C1E71 #552BA1 #703ECB #946ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552BA1#FFFFFF#000000##FFFFFF
##552BA11.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)
#0048A4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#3E4A63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552ba1;
/* rgb */ color: rgb(85, 43, 161);
/* oklch */ color: oklch(41.7% 0.178 293.4);
Tailwind
colors: {
  custom: {
    50: '#8c68be',
    500: '#552ba1',
    950: '#000000',
  },
}
SCSS
$custom: #552ba1;
$custom-light: #8c68be;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba1",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 261.356,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.17752,
    "h": 293.4
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#552BA1
secondary
#A0BF69
accent
#E147AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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