#552D9D#552D9D

#552D9D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.170 H 294.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#552D9D
RGBrgb(85, 45, 157)
HSLhsl(261, 55%, 40%)
HSVhsv(261, 71%, 62%)
CMYKcmyk(45.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(30.02, 43.60, -54.36)
CIE-LCHlch(30.02, 69.69, 308.73°)
OKLaboklab(41.59% 0.0695 -0.1556)
OKLCHoklch(41.59% 0.17 294.1)
XYZxyz(10.7688, 6.2421, 32.5292)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D9D #759D2D
analogous
#2D3D9D #552D9D #8D2D9D
triadic
#552D9D #9D552D #2D9D55
tetradic
#552D9D #9D2D3D #759D2D #2D9D8D
square
#552D9D #9D2D3D #759D2D #2D9D8D
split-complementary
#552D9D #9D8D2D #3D9D2D
monochromatic
#21123E #3B1F6D #552D9D #703FC8 #946FD6

Accessibility & contrast

On white

9.34
#552D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#552D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D9D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D9D#FFFFFF#000000##FFFFFF
##552D9D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552d9d;
/* rgb */ color: rgb(85, 45, 157);
/* oklch */ color: oklch(41.6% 0.170 294.1);
Tailwind
colors: {
  custom: {
    50: '#8c69bb',
    500: '#552d9d',
    950: '#000000',
  },
}
SCSS
$custom: #552d9d;
$custom-light: #8c69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#552d9d",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 261.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.17045,
    "h": 294.1
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#552D9D
secondary
#9FBD69
accent
#DF49A9
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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