#552D8E#552D8E

#552D8E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.152 H 298.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#552D8E
RGBrgb(85, 45, 142)
HSLhsl(265, 52%, 37%)
HSVhsv(265, 68%, 56%)
CMYKcmyk(40.1%, 68.3%, 0%, 44.3%)
CIE-LABlab(28.80, 39.47, -47.14)
CIE-LCHlch(28.80, 61.48, 309.94°)
OKLaboklab(40.35% 0.072 -0.1344)
OKLCHoklch(40.35% 0.152 298.2)
XYZxyz(9.5659, 5.7609, 26.1939)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D8E #668E2D
analogous
#2D368E #552D8E #862D8E
triadic
#552D8E #8E552D #2D8E55
tetradic
#552D8E #8E2D36 #668E2D #2D8E86
square
#552D8E #8E2D36 #668E2D #2D8E86
split-complementary
#552D8E #8E862D #368E2D
monochromatic
#1D1031 #391E60 #552D8E #713CBC #9267CF

Accessibility & contrast

On white

9.76
#552D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#552D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D8E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D8E#FFFFFF#000000##FFFFFF
##552D8E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#474459
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552d8e;
/* rgb */ color: rgb(85, 45, 142);
/* oklch */ color: oklch(40.3% 0.152 298.2);
Tailwind
colors: {
  custom: {
    50: '#8a69b0',
    500: '#552d8e',
    950: '#000000',
  },
}
SCSS
$custom: #552d8e;
$custom-light: #8a69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#552d8e",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 264.742,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.15247,
    "h": 298.2
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#552D8E
secondary
#93B561
accent
#DB4CA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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