#552F97#552F97

#552F97 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.161 H 295.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#552F97
RGBrgb(85, 47, 151)
HSLhsl(262, 53%, 39%)
HSVhsv(262, 69%, 59%)
CMYKcmyk(43.7%, 68.9%, 0%, 40.8%)
CIE-LABlab(29.91, 40.87, -50.88)
CIE-LCHlch(29.91, 65.26, 308.77°)
OKLaboklab(41.36% 0.0685 -0.1454)
OKLCHoklch(41.36% 0.161 295.2)
XYZxyz(10.3473, 6.1984, 29.9234)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F97 #71972F
analogous
#2F3D97 #552F97 #892F97
triadic
#552F97 #97552F #2F9755
tetradic
#552F97 #972F3D #71972F #2F9789
square
#552F97 #972F3D #71972F #2F9789
split-complementary
#552F97 #97892F #3D972F
monochromatic
#20123A #3B2068 #552F97 #7040C3 #936ED2

Accessibility & contrast

On white

9.38
#552F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#552F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F97
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F97#FFFFFF#000000##FFFFFF
##552F971.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#43485F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552f97;
/* rgb */ color: rgb(85, 47, 151);
/* oklch */ color: oklch(41.4% 0.161 295.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ab6',
    500: '#552f97',
    950: '#000000',
  },
}
SCSS
$custom: #552f97;
$custom-light: #8b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#552f97",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 261.923,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.16073,
    "h": 295.2
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #552F97

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

Preview Lab → · Contrast checker → · Palette generator →

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