#552E9E#552E9E

#552E9E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.170 H 293.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#552E9E
RGBrgb(85, 46, 158)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 62%)
CMYKcmyk(46.2%, 70.9%, 0%, 38%)
CIE-LABlab(30.29, 43.36, -54.53)
CIE-LCHlch(30.29, 69.66, 308.49°)
OKLaboklab(41.81% 0.0683 -0.1561)
OKLCHoklch(41.81% 0.17 293.6)
XYZxyz(10.8932, 6.3536, 32.9935)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E9E #779E2E
analogous
#2E3F9E #552E9E #8D2E9E
triadic
#552E9E #9E552E #2E9E55
tetradic
#552E9E #9E2E3F #779E2E #2E9E8D
square
#552E9E #9E2E3F #779E2E #2E9E8D
split-complementary
#552E9E #9E8D2E #3F9E2E
monochromatic
#22123F #3C206F #552E9E #7041C8 #9471D6

Accessibility & contrast

On white

9.25
#552E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#552E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E9E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E9E#FFFFFF#000000##FFFFFF
##552E9E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#404A62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552e9e;
/* rgb */ color: rgb(85, 46, 158);
/* oklch */ color: oklch(41.8% 0.170 293.6);
Tailwind
colors: {
  custom: {
    50: '#8c6abc',
    500: '#552e9e',
    950: '#000000',
  },
}
SCSS
$custom: #552e9e;
$custom-light: #8c6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#552e9e",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 260.893,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.17042,
    "h": 293.6
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#552E9E
secondary
#A0BD6B
accent
#DE4AAA
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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