#552FB4#552FB4

#552FB4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.195 H 288.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#552FB4
RGBrgb(85, 47, 180)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 74%, 71%)
CMYKcmyk(52.8%, 73.9%, 0%, 29.4%)
CIE-LABlab(32.39, 49.03, -64.31)
CIE-LCHlch(32.39, 80.87, 307.32°)
OKLaboklab(43.9% 0.0627 -0.1848)
OKLCHoklch(43.9% 0.195 288.7)
XYZxyz(12.9986, 7.2590, 43.8874)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FB4 #8EB42F
analogous
#2F4CB4 #552FB4 #982FB4
triadic
#552FB4 #B4552F #2FB455
tetradic
#552FB4 #B42F4C #8EB42F #2FB498
square
#552FB4 #B42F4C #8EB42F #2FB498
split-complementary
#552FB4 #B4982F #4CB42F
monochromatic
#271653 #3E2283 #552FB4 #744FD1 #9B80DE

Accessibility & contrast

On white

8.56
#552FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#552FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FB4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FB4#FFFFFF#000000##FFFFFF
##552FB41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#31536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #552fb4;
/* rgb */ color: rgb(85, 47, 180);
/* oklch */ color: oklch(43.9% 0.195 288.7);
Tailwind
colors: {
  custom: {
    50: '#8f6bcc',
    500: '#552fb4',
    950: '#000000',
  },
}
SCSS
$custom: #552fb4;
$custom-light: #8f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#552fb4",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 257.143,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.19517,
    "h": 288.7
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#552FB4
secondary
#B0C778
accent
#E246B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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