#552FA7#552FA7

#552FA7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.180 H 291.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#552FA7
RGBrgb(85, 47, 167)
HSLhsl(259, 56%, 42%)
HSVhsv(259, 72%, 65%)
CMYKcmyk(49.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(31.24, 45.36, -58.41)
CIE-LCHlch(31.24, 73.96, 307.83°)
OKLaboklab(42.73% 0.0656 -0.1676)
OKLCHoklch(42.73% 0.18 291.4)
XYZxyz(11.7359, 6.7539, 37.2370)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FA7 #81A72F
analogous
#2F45A7 #552FA7 #912FA7
triadic
#552FA7 #A7552F #2FA755
tetradic
#552FA7 #A72F45 #81A72F #2FA791
square
#552FA7 #A72F45 #81A72F #2FA791
split-complementary
#552FA7 #A7912F #45A72F
monochromatic
#241447 #3D2277 #552FA7 #7148CB #9678D9

Accessibility & contrast

On white

8.93
#552FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#552FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FA7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FA7#FFFFFF#000000##FFFFFF
##552FA71.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#3A4E68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552fa7;
/* rgb */ color: rgb(85, 47, 167);
/* oklch */ color: oklch(42.7% 0.180 291.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bc2',
    500: '#552fa7',
    950: '#000000',
  },
}
SCSS
$custom: #552fa7;
$custom-light: #8d6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#552fa7",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 259,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.17993,
    "h": 291.4
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#552FA7
secondary
#A8C171
accent
#DF48B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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