#552FA8#552FA8

#552FA8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.181 H 291.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#552FA8
RGBrgb(85, 47, 168)
HSLhsl(259, 56%, 42%)
HSVhsv(259, 72%, 66%)
CMYKcmyk(49.4%, 72%, 0%, 34.1%)
CIE-LABlab(31.33, 45.64, -58.87)
CIE-LCHlch(31.33, 74.49, 307.78°)
OKLaboklab(42.82% 0.0654 -0.1689)
OKLCHoklch(42.82% 0.181 291.2)
XYZxyz(11.8287, 6.7910, 37.7257)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FA8 #82A82F
analogous
#2F46A8 #552FA8 #922FA8
triadic
#552FA8 #A8552F #2FA855
tetradic
#552FA8 #A82F46 #82A82F #2FA892
square
#552FA8 #A82F46 #82A82F #2FA892
split-complementary
#552FA8 #A8922F #46A82F
monochromatic
#251448 #3D2278 #552FA8 #7248CC #9778D9

Accessibility & contrast

On white

8.91
#552FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#552FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FA8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FA8#FFFFFF#000000##FFFFFF
##552FA81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#3A4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552fa8;
/* rgb */ color: rgb(85, 47, 168);
/* oklch */ color: oklch(42.8% 0.181 291.2);
Tailwind
colors: {
  custom: {
    50: '#8d6bc3',
    500: '#552fa8',
    950: '#000000',
  },
}
SCSS
$custom: #552fa8;
$custom-light: #8d6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#552fa8",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 258.843,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.18111,
    "h": 291.2
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#552FA8
secondary
#A8C171
accent
#E048B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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