#552FA6#552FA6

#552FA6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.179 H 291.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#552FA6
RGBrgb(85, 47, 166)
HSLhsl(259, 56%, 42%)
HSVhsv(259, 72%, 65%)
CMYKcmyk(48.8%, 71.7%, 0%, 34.9%)
CIE-LABlab(31.15, 45.08, -57.95)
CIE-LCHlch(31.15, 73.42, 307.88°)
OKLaboklab(42.64% 0.0658 -0.1662)
OKLCHoklch(42.64% 0.179 291.6)
XYZxyz(11.6438, 6.7171, 36.7520)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FA6 #80A62F
analogous
#2F44A6 #552FA6 #912FA6
triadic
#552FA6 #A6552F #2FA655
tetradic
#552FA6 #A62F44 #80A62F #2FA691
square
#552FA6 #A62F44 #80A62F #2FA691
split-complementary
#552FA6 #A6912F #44A62F
monochromatic
#241447 #3D2176 #552FA6 #7147CB #9677D8

Accessibility & contrast

On white

8.96
#552FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#552FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FA6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FA6#FFFFFF#000000##FFFFFF
##552FA61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#3B4E67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552fa6;
/* rgb */ color: rgb(85, 47, 166);
/* oklch */ color: oklch(42.6% 0.179 291.6);
Tailwind
colors: {
  custom: {
    50: '#8d6bc1',
    500: '#552fa6',
    950: '#000000',
  },
}
SCSS
$custom: #552fa6;
$custom-light: #8d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#552fa6",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 259.16,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.17874,
    "h": 291.6
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#552FA6
secondary
#A7C170
accent
#DF49AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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