#552E97#552E97

#552E97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.162 H 295.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#552E97
RGBrgb(85, 46, 151)
HSLhsl(262, 53%, 39%)
HSVhsv(262, 70%, 59%)
CMYKcmyk(43.7%, 69.5%, 0%, 40.8%)
CIE-LABlab(29.71, 41.41, -51.20)
CIE-LCHlch(29.71, 65.85, 308.96°)
OKLaboklab(41.22% 0.0695 -0.1463)
OKLCHoklch(41.22% 0.162 295.4)
XYZxyz(10.3077, 6.1194, 29.9102)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E97 #70972E
analogous
#2E3B97 #552E97 #892E97
triadic
#552E97 #97552E #2E9755
tetradic
#552E97 #972E3B #70972E #2E9789
square
#552E97 #972E3B #70972E #2E9789
split-complementary
#552E97 #97892E #3B972E
monochromatic
#201139 #3B2068 #552E97 #703EC4 #936DD2

Accessibility & contrast

On white

9.44
#552E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#552E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E97
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E97#FFFFFF#000000##FFFFFF
##552E971.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552e97;
/* rgb */ color: rgb(85, 46, 151);
/* oklch */ color: oklch(41.2% 0.162 295.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ab6',
    500: '#552e97',
    950: '#000000',
  },
}
SCSS
$custom: #552e97;
$custom-light: #8b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#552e97",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 262.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.16202,
    "h": 295.4
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#552E97
secondary
#9BBA67
accent
#DD4BA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552E97

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

Preview Lab → · Contrast checker → · Palette generator →

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