#552F8D#552F8D

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

Color values

HEX#552F8D
RGBrgb(85, 47, 141)
HSLhsl(264, 50%, 37%)
HSVhsv(264, 67%, 55%)
CMYKcmyk(39.7%, 66.7%, 0%, 44.7%)
CIE-LABlab(29.13, 38.09, -46.00)
CIE-LCHlch(29.13, 59.72, 309.63°)
OKLaboklab(40.56% 0.0698 -0.1311)
OKLCHoklch(40.56% 0.148 298)
XYZxyz(9.5693, 5.8873, 25.8263)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F8D #678D2F
analogous
#2F388D #552F8D #842F8D
triadic
#552F8D #8D552F #2F8D55
tetradic
#552F8D #8D2F38 #678D2F #2F8D84
square
#552F8D #8D2F38 #678D2F #2F8D84
split-complementary
#552F8D #8D842F #388D2F
monochromatic
#1E1031 #39205F #552F8D #713EBB #9269CD

Accessibility & contrast

On white

9.64
#552F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F8D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F8D#FFFFFF#000000##FFFFFF
##552F8D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#484459
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552f8d;
/* rgb */ color: rgb(85, 47, 141);
/* oklch */ color: oklch(40.6% 0.148 298.0);
Tailwind
colors: {
  custom: {
    50: '#896aaf',
    500: '#552f8d',
    950: '#000000',
  },
}
SCSS
$custom: #552f8d;
$custom-light: #896aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#552f8d",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 264.255,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.14848,
    "h": 298
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#552F8D
secondary
#94B464
accent
#DA4EA1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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