#552B8B#552B8B

#552B8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.152 H 299.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#552B8B
RGBrgb(85, 43, 139)
HSLhsl(266, 53%, 36%)
HSVhsv(266, 69%, 55%)
CMYKcmyk(38.8%, 69.1%, 0%, 45.5%)
CIE-LABlab(28.18, 39.73, -46.30)
CIE-LCHlch(28.18, 61.01, 310.64°)
OKLaboklab(39.82% 0.0746 -0.1319)
OKLCHoklch(39.82% 0.152 299.5)
XYZxyz(9.2692, 5.5230, 24.9988)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B8B #618B2B
analogous
#2B318B #552B8B #852B8B
triadic
#552B8B #8B552B #2B8B55
tetradic
#552B8B #8B2B31 #618B2B #2B8B85
square
#552B8B #8B2B31 #618B2B #2B8B85
split-complementary
#552B8B #8B852B #318B2B
monochromatic
#1C0E2E #381D5C #552B8B #7239BA #9162CE

Accessibility & contrast

On white

9.98
#552B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#552B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B8B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B8B#FFFFFF#000000##FFFFFF
##552B8B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#494157
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552b8b;
/* rgb */ color: rgb(85, 43, 139);
/* oklch */ color: oklch(39.8% 0.152 299.5);
Tailwind
colors: {
  custom: {
    50: '#8a67ae',
    500: '#552b8b',
    950: '#000000',
  },
}
SCSS
$custom: #552b8b;
$custom-light: #8a67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#552b8b",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 266.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.15158,
    "h": 299.5
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#552B8B
secondary
#8EB55D
accent
#DC4C9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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