#552A8A#552A8A

#552A8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.152 H 300.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#552A8A
RGBrgb(85, 42, 138)
HSLhsl(267, 53%, 35%)
HSVhsv(267, 70%, 54%)
CMYKcmyk(38.4%, 69.6%, 0%, 45.9%)
CIE-LABlab(27.91, 40.00, -46.12)
CIE-LCHlch(27.91, 61.05, 310.93°)
OKLaboklab(39.61% 0.0759 -0.1314)
OKLCHoklch(39.61% 0.152 300)
XYZxyz(9.1606, 5.4221, 24.6038)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A8A #5F8A2A
analogous
#2A2F8A #552A8A #852A8A
triadic
#552A8A #8A552A #2A8A55
tetradic
#552A8A #8A2A2F #5F8A2A #2A8A85
square
#552A8A #8A2A2F #5F8A2A #2A8A85
split-complementary
#552A8A #8A852A #2F8A2A
monochromatic
#1B0D2C #381C5B #552A8A #7238B9 #9160CF

Accessibility & contrast

On white

10.07
#552A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A8A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A8A#FFFFFF#000000##FFFFFF
##552A8A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#494056
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552a8a;
/* rgb */ color: rgb(85, 42, 138);
/* oklch */ color: oklch(39.6% 0.152 300.0);
Tailwind
colors: {
  custom: {
    50: '#8a67ad',
    500: '#552a8a',
    950: '#000000',
  },
}
SCSS
$custom: #552a8a;
$custom-light: #8a67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#552a8a",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 266.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.15175,
    "h": 300
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#552A8A
secondary
#8DB45B
accent
#DD4B9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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