#552F8E#552F8E

#552F8E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.150 H 297.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#552F8E
RGBrgb(85, 47, 142)
HSLhsl(264, 50%, 37%)
HSVhsv(264, 67%, 56%)
CMYKcmyk(40.1%, 66.9%, 0%, 44.3%)
CIE-LABlab(29.20, 38.37, -46.49)
CIE-LCHlch(29.20, 60.28, 309.53°)
OKLaboklab(40.64% 0.0697 -0.1325)
OKLCHoklch(40.64% 0.15 297.7)
XYZxyz(9.6441, 5.9172, 26.2200)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F8E #688E2F
analogous
#2F388E #552F8E #852F8E
triadic
#552F8E #8E552F #2F8E55
tetradic
#552F8E #8E2F38 #688E2F #2F8E85
square
#552F8E #8E2F38 #688E2F #2F8E85
split-complementary
#552F8E #8E852F #388E2F
monochromatic
#1E1132 #392060 #552F8E #713EBC #926ACE

Accessibility & contrast

On white

9.62
#552F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#552F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F8E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F8E#FFFFFF#000000##FFFFFF
##552F8E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#47455A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552f8e;
/* rgb */ color: rgb(85, 47, 142);
/* oklch */ color: oklch(40.6% 0.150 297.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ab0',
    500: '#552f8e',
    950: '#000000',
  },
}
SCSS
$custom: #552f8e;
$custom-light: #8a6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#552f8e",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 264,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.14971,
    "h": 297.7
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#552F8E
secondary
#94B564
accent
#DA4EA2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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