#552FAB#552FAB

#552FAB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.185 H 290.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#552FAB
RGBrgb(85, 47, 171)
HSLhsl(258, 57%, 43%)
HSVhsv(258, 73%, 67%)
CMYKcmyk(50.3%, 72.5%, 0%, 32.9%)
CIE-LABlab(31.59, 46.49, -60.25)
CIE-LCHlch(31.59, 76.10, 307.65°)
OKLaboklab(43.08% 0.0647 -0.1729)
OKLCHoklch(43.08% 0.185 290.5)
XYZxyz(12.1114, 6.9041, 39.2147)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FAB #85AB2F
analogous
#2F47AB #552FAB #932FAB
triadic
#552FAB #AB552F #2FAB55
tetradic
#552FAB #AB2F47 #85AB2F #2FAB93
square
#552FAB #AB2F47 #85AB2F #2FAB93
split-complementary
#552FAB #AB932F #47AB2F
monochromatic
#25154B #3D227B #552FAB #724ACD #987ADA

Accessibility & contrast

On white

8.82
#552FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#552FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FAB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FAB#FFFFFF#000000##FFFFFF
##552FAB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#38506A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552fab;
/* rgb */ color: rgb(85, 47, 171);
/* oklch */ color: oklch(43.1% 0.185 290.5);
Tailwind
colors: {
  custom: {
    50: '#8d6bc5',
    500: '#552fab',
    950: '#000000',
  },
}
SCSS
$custom: #552fab;
$custom-light: #8d6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#552fab",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 258.387,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.18465,
    "h": 290.5
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#552FAB
secondary
#AAC373
accent
#E048B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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