#552BB2#552BB2

#552BB2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.197 H 289.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#552BB2
RGBrgb(85, 43, 178)
HSLhsl(259, 61%, 43%)
HSVhsv(259, 76%, 70%)
CMYKcmyk(52.2%, 75.8%, 0%, 30.2%)
CIE-LABlab(31.52, 50.43, -64.55)
CIE-LCHlch(31.52, 81.92, 308.00°)
OKLaboklab(43.23% 0.0664 -0.1855)
OKLCHoklch(43.23% 0.197 289.7)
XYZxyz(12.6437, 6.8728, 42.7712)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BB2 #88B22B
analogous
#2B44B2 #552BB2 #982BB2
triadic
#552BB2 #B2552B #2BB255
tetradic
#552BB2 #B22B44 #88B22B #2BB298
square
#552BB2 #B22B44 #88B22B #2BB298
split-complementary
#552BB2 #B2982B #44B22B
monochromatic
#26134F #3D1F81 #552BB2 #7348D3 #9879DF

Accessibility & contrast

On white

8.84
#552BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#552BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BB2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BB2#FFFFFF#000000##FFFFFF
##552BB21.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#33506D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552bb2;
/* rgb */ color: rgb(85, 43, 178);
/* oklch */ color: oklch(43.2% 0.197 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f69ca',
    500: '#552bb2',
    950: '#000000',
  },
}
SCSS
$custom: #552bb2;
$custom-light: #8f69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#552bb2",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 258.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.19703,
    "h": 289.7
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#552BB2
secondary
#ACC772
accent
#E444B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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