#552BAB#552BAB

#552BAB is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.189 H 291.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#552BAB
RGBrgb(85, 43, 171)
HSLhsl(260, 60%, 42%)
HSVhsv(260, 75%, 67%)
CMYKcmyk(50.3%, 74.9%, 0%, 32.9%)
CIE-LABlab(30.88, 48.49, -61.41)
CIE-LCHlch(30.88, 78.25, 308.30°)
OKLaboklab(42.58% 0.0682 -0.1763)
OKLCHoklch(42.58% 0.189 291.1)
XYZxyz(11.9588, 6.5989, 39.1638)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BAB #81AB2B
analogous
#2B41AB #552BAB #952BAB
triadic
#552BAB #AB552B #2BAB55
tetradic
#552BAB #AB2B41 #81AB2B #2BAB95
square
#552BAB #AB2B41 #81AB2B #2BAB95
split-complementary
#552BAB #AB952B #41AB2B
monochromatic
#241249 #3D1F7A #552BAB #7143D0 #9674DC

Accessibility & contrast

On white

9.05
#552BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#552BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BAB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BAB#FFFFFF#000000##FFFFFF
##552BAB1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#384E69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552bab;
/* rgb */ color: rgb(85, 43, 171);
/* oklch */ color: oklch(42.6% 0.189 291.1);
Tailwind
colors: {
  custom: {
    50: '#8e69c5',
    500: '#552bab',
    950: '#000000',
  },
}
SCSS
$custom: #552bab;
$custom-light: #8e69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#552bab",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 259.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.18905,
    "h": 291.1
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#552BAB
secondary
#A8C46E
accent
#E345AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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