#552D9E#552D9E

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

Color values

HEX#552D9E
RGBrgb(85, 45, 158)
HSLhsl(261, 56%, 40%)
HSVhsv(261, 72%, 62%)
CMYKcmyk(46.2%, 71.5%, 0%, 38%)
CIE-LABlab(30.10, 43.88, -54.84)
CIE-LCHlch(30.10, 70.23, 308.67°)
OKLaboklab(41.68% 0.0693 -0.157)
OKLCHoklch(41.68% 0.172 293.8)
XYZxyz(10.8546, 6.2764, 32.9807)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D9E #769E2D
analogous
#2D3E9E #552D9E #8E2D9E
triadic
#552D9E #9E552D #2D9E55
tetradic
#552D9E #9E2D3E #769E2D #2D9E8E
square
#552D9E #9E2D3E #769E2D #2D9E8E
split-complementary
#552D9E #9E8E2D #3E9E2D
monochromatic
#22123F #3B1F6E #552D9E #7040C9 #946FD6

Accessibility & contrast

On white

9.31
#552D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552D9E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D9E#FFFFFF#000000##FFFFFF
##552D9E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552d9e;
/* rgb */ color: rgb(85, 45, 158);
/* oklch */ color: oklch(41.7% 0.172 293.8);
Tailwind
colors: {
  custom: {
    50: '#8c69bc',
    500: '#552d9e',
    950: '#000000',
  },
}
SCSS
$custom: #552d9e;
$custom-light: #8c69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#552d9e",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 261.239,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.17165,
    "h": 293.8
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#552D9E
secondary
#A0BD69
accent
#DF49AA
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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