#552E9F#552E9F

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

Color values

HEX#552E9F
RGBrgb(85, 46, 159)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 62%)
CMYKcmyk(46.5%, 71.1%, 0%, 37.6%)
CIE-LABlab(30.37, 43.63, -55.00)
CIE-LCHlch(30.37, 70.21, 308.43°)
OKLaboklab(41.9% 0.0681 -0.1575)
OKLCHoklch(41.9% 0.172 293.4)
XYZxyz(10.9796, 6.3882, 33.4487)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E9F #789F2E
analogous
#2E3F9F #552E9F #8D2E9F
triadic
#552E9F #9F552E #2E9F55
tetradic
#552E9F #9F2E3F #789F2E #2E9F8D
square
#552E9F #9F2E3F #789F2E #2E9F8D
split-complementary
#552E9F #9F8D2E #3F9F2E
monochromatic
#221340 #3C2070 #552E9F #7042C8 #9471D6

Accessibility & contrast

On white

9.22
#552E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552E9F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E9F#FFFFFF#000000##FFFFFF
##552E9F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#3F4B63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552e9f;
/* rgb */ color: rgb(85, 46, 159);
/* oklch */ color: oklch(41.9% 0.172 293.4);
Tailwind
colors: {
  custom: {
    50: '#8c6abc',
    500: '#552e9f',
    950: '#000000',
  },
}
SCSS
$custom: #552e9f;
$custom-light: #8c6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#552e9f",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 260.708,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.419,
    "c": 0.17161,
    "h": 293.4
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#552E9F
secondary
#A1BE6B
accent
#DE49AB
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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