#552A88#552A88

#552A88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.149 H 300.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#552A88
RGBrgb(85, 42, 136)
HSLhsl(267, 53%, 35%)
HSVhsv(267, 69%, 53%)
CMYKcmyk(37.5%, 69.1%, 0%, 46.7%)
CIE-LABlab(27.75, 39.47, -45.13)
CIE-LCHlch(27.75, 59.95, 311.17°)
OKLaboklab(39.45% 0.0762 -0.1285)
OKLCHoklch(39.45% 0.149 300.7)
XYZxyz(9.0171, 5.3647, 23.8482)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A88 #5D882A
analogous
#2A2E88 #552A88 #842A88
triadic
#552A88 #88552A #2A8855
tetradic
#552A88 #882A2E #5D882A #2A8884
square
#552A88 #882A2E #5D882A #2A8884
split-complementary
#552A88 #88842A #2E882A
monochromatic
#1B0D2A #381C59 #552A88 #7238B7 #915FCE

Accessibility & contrast

On white

10.13
#552A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#552A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A88
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A88#FFFFFF#000000##FFFFFF
##552A881.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#4A4055
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552a88;
/* rgb */ color: rgb(85, 42, 136);
/* oklch */ color: oklch(39.4% 0.149 300.7);
Tailwind
colors: {
  custom: {
    50: '#8967ab',
    500: '#552a88',
    950: '#000000',
  },
}
SCSS
$custom: #552a88;
$custom-light: #8967ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552a88",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 267.447,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.14937,
    "h": 300.7
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#552A88
secondary
#8BB35B
accent
#DC4C9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A88

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

Preview Lab → · Contrast checker → · Palette generator →

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