#552F96#552F96

#552F96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.160 H 295.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#552F96
RGBrgb(85, 47, 150)
HSLhsl(262, 52%, 39%)
HSVhsv(262, 69%, 59%)
CMYKcmyk(43.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(29.83, 40.59, -50.40)
CIE-LCHlch(29.83, 64.71, 308.85°)
OKLaboklab(41.28% 0.0686 -0.144)
OKLCHoklch(41.28% 0.16 295.5)
XYZxyz(10.2664, 6.1661, 29.4975)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F96 #70962F
analogous
#2F3C96 #552F96 #882F96
triadic
#552F96 #96552F #2F9655
tetradic
#552F96 #962F3C #70962F #2F9688
square
#552F96 #962F3C #70962F #2F9688
split-complementary
#552F96 #96882F #3C962F
monochromatic
#201239 #3B2067 #552F96 #703FC3 #936ED2

Accessibility & contrast

On white

9.40
#552F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#552F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F96
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F96#FFFFFF#000000##FFFFFF
##552F961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#44485E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552f96;
/* rgb */ color: rgb(85, 47, 150);
/* oklch */ color: oklch(41.3% 0.160 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b6ab6',
    500: '#552f96',
    950: '#000000',
  },
}
SCSS
$custom: #552f96;
$custom-light: #8b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#552f96",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 262.136,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.15951,
    "h": 295.5
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#552F96
secondary
#9BB968
accent
#DC4CA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #552F96

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

Preview Lab → · Contrast checker → · Palette generator →

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