#552FB2#552FB2

#552FB2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.193 H 289.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#552FB2
RGBrgb(85, 47, 178)
HSLhsl(257, 58%, 44%)
HSVhsv(257, 74%, 70%)
CMYKcmyk(52.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(32.21, 48.47, -63.41)
CIE-LCHlch(32.21, 79.81, 307.39°)
OKLaboklab(43.71% 0.0631 -0.1822)
OKLCHoklch(43.71% 0.193 289.1)
XYZxyz(12.7964, 7.1781, 42.8221)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FB2 #8CB22F
analogous
#2F4AB2 #552FB2 #972FB2
triadic
#552FB2 #B2552F #2FB255
tetradic
#552FB2 #B22F4A #8CB22F #2FB297
square
#552FB2 #B22F4A #8CB22F #2FB297
split-complementary
#552FB2 #B2972F #4AB22F
monochromatic
#271551 #3E2282 #552FB2 #744ED0 #9A7EDD

Accessibility & contrast

On white

8.62
#552FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#552FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FB2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FB2#FFFFFF#000000##FFFFFF
##552FB21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#32526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #552fb2;
/* rgb */ color: rgb(85, 47, 178);
/* oklch */ color: oklch(43.7% 0.193 289.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bca',
    500: '#552fb2',
    950: '#000000',
  },
}
SCSS
$custom: #552fb2;
$custom-light: #8e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#552fb2",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 257.405,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.19285,
    "h": 289.1
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#552FB2
secondary
#AFC677
accent
#E146B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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