#552E88#552E88

#552E88 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.144 H 299.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#552E88
RGBrgb(85, 46, 136)
HSLhsl(266, 49%, 36%)
HSVhsv(266, 66%, 53%)
CMYKcmyk(37.5%, 66.2%, 0%, 46.7%)
CIE-LABlab(28.55, 37.28, -43.84)
CIE-LCHlch(28.55, 57.55, 310.38°)
OKLaboklab(40.02% 0.0715 -0.1247)
OKLCHoklch(40.02% 0.144 299.8)
XYZxyz(9.1661, 5.6628, 23.8979)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E88 #61882E
analogous
#2E3488 #552E88 #822E88
triadic
#552E88 #88552E #2E8855
tetradic
#552E88 #882E34 #61882E #2E8882
square
#552E88 #882E34 #61882E #2E8882
split-complementary
#552E88 #88822E #34882E
monochromatic
#1C0F2D #381F5A #552E88 #723DB6 #9165CB

Accessibility & contrast

On white

9.85
#552E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#552E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E88
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E88#FFFFFF#000000##FFFFFF
##552E881.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#024386
Tritanopia (blue-blind)
#4A4256
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552e88;
/* rgb */ color: rgb(85, 46, 136);
/* oklch */ color: oklch(40.0% 0.144 299.8);
Tailwind
colors: {
  custom: {
    50: '#8969ab',
    500: '#552e88',
    950: '#000000',
  },
}
SCSS
$custom: #552e88;
$custom-light: #8969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552e88",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 266,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.14374,
    "h": 299.8
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#552E88
secondary
#8EB260
accent
#D94F9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552E88

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

Preview Lab → · Contrast checker → · Palette generator →

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