#552E9D#552E9D

#552E9D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.169 H 293.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#552E9D
RGBrgb(85, 46, 157)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 62%)
CMYKcmyk(45.9%, 70.7%, 0%, 38.4%)
CIE-LABlab(30.20, 43.08, -54.06)
CIE-LCHlch(30.20, 69.12, 308.55°)
OKLaboklab(41.73% 0.0685 -0.1547)
OKLCHoklch(41.73% 0.169 293.9)
XYZxyz(10.8075, 6.3193, 32.5421)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E9D #769D2E
analogous
#2E3F9D #552E9D #8D2E9D
triadic
#552E9D #9D552E #2E9D55
tetradic
#552E9D #9D2E3F #769D2E #2E9D8D
square
#552E9D #9D2E3F #769D2E #2E9D8D
split-complementary
#552E9D #9D8D2E #3F9D2E
monochromatic
#22123E #3B206E #552E9D #7041C7 #9470D5

Accessibility & contrast

On white

9.28
#552E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#552E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E9D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E9D#FFFFFF#000000##FFFFFF
##552E9D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#404A62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #552e9d;
/* rgb */ color: rgb(85, 46, 157);
/* oklch */ color: oklch(41.7% 0.169 293.9);
Tailwind
colors: {
  custom: {
    50: '#8b6abb',
    500: '#552e9d',
    950: '#000000',
  },
}
SCSS
$custom: #552e9d;
$custom-light: #8b6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#552e9d",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 261.081,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.16923,
    "h": 293.9
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #552E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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