#552FB5#552FB5

#552FB5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.196 H 288.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#552FB5
RGBrgb(85, 47, 181)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 74%, 71%)
CMYKcmyk(53%, 74%, 0%, 29%)
CIE-LABlab(32.48, 49.31, -64.75)
CIE-LCHlch(32.48, 81.39, 307.29°)
OKLaboklab(43.99% 0.0624 -0.1861)
OKLCHoklch(43.99% 0.196 288.5)
XYZxyz(13.1009, 7.2999, 44.4258)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FB5 #8FB52F
analogous
#2F4CB5 #552FB5 #982FB5
triadic
#552FB5 #B5552F #2FB555
tetradic
#552FB5 #B52F4C #8FB52F #2FB598
square
#552FB5 #B52F4C #8FB52F #2FB598
split-complementary
#552FB5 #B5982F #4CB52F
monochromatic
#271654 #3E2284 #552FB5 #7550D1 #9B80DE

Accessibility & contrast

On white

8.54
#552FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#552FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FB5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FB5#FFFFFF#000000##FFFFFF
##552FB51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#305370
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #552fb5;
/* rgb */ color: rgb(85, 47, 181);
/* oklch */ color: oklch(44.0% 0.196 288.5);
Tailwind
colors: {
  custom: {
    50: '#8f6bcc',
    500: '#552fb5',
    950: '#000000',
  },
}
SCSS
$custom: #552fb5;
$custom-light: #8f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#552fb5",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 257.015,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.19632,
    "h": 288.5
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#552FB5
secondary
#B1C779
accent
#E246B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #552FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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