#552F9D#552F9D

#552F9D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.168 H 293.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#552F9D
RGBrgb(85, 47, 157)
HSLhsl(261, 54%, 40%)
HSVhsv(261, 70%, 62%)
CMYKcmyk(45.9%, 70.1%, 0%, 38.4%)
CIE-LABlab(30.40, 42.54, -53.74)
CIE-LCHlch(30.40, 68.55, 308.37°)
OKLaboklab(41.87% 0.0675 -0.1538)
OKLCHoklch(41.87% 0.168 293.7)
XYZxyz(10.8470, 6.3983, 32.5552)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F9D #779D2F
analogous
#2F409D #552F9D #8C2F9D
triadic
#552F9D #9D552F #2F9D55
tetradic
#552F9D #9D2F40 #779D2F #2F9D8C
square
#552F9D #9D2F40 #779D2F #2F9D8C
split-complementary
#552F9D #9D8C2F #409D2F
monochromatic
#22133F #3B216E #552F9D #7043C7 #9472D5

Accessibility & contrast

On white

9.21
#552F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#552F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F9D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F9D#FFFFFF#000000##FFFFFF
##552F9D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#404A62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552f9d;
/* rgb */ color: rgb(85, 47, 157);
/* oklch */ color: oklch(41.9% 0.168 293.7);
Tailwind
colors: {
  custom: {
    50: '#8b6abb',
    500: '#552f9d',
    950: '#000000',
  },
}
SCSS
$custom: #552f9d;
$custom-light: #8b6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#552f9d",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 260.727,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.41866,
    "c": 0.16799,
    "h": 293.7
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#552F9D
secondary
#A0BC6B
accent
#DD4BAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #552F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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