#552E7B#552E7B

#552E7B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.128 H 304.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#552E7B
RGBrgb(85, 46, 123)
HSLhsl(270, 46%, 33%)
HSVhsv(270, 63%, 48%)
CMYKcmyk(30.9%, 62.6%, 0%, 51.8%)
CIE-LABlab(27.62, 33.81, -37.20)
CIE-LCHlch(27.62, 50.27, 312.27°)
OKLaboklab(39.05% 0.0723 -0.1052)
OKLCHoklch(39.05% 0.128 304.5)
XYZxyz(8.2977, 5.3154, 19.3239)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E7B #547B2E
analogous
#2F2E7B #552E7B #7B2E7A
triadic
#552E7B #7B552E #2E7B55
tetradic
#552E7B #7B2F2E #547B2E #2E7A7B
square
#552E7B #7B2F2E #547B2E #2E7A7B
split-complementary
#552E7B #7A7B2E #2E7B2F
monochromatic
#170D22 #361D4E #552E7B #743FA8 #9260C3

Accessibility & contrast

On white

10.18
#552E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E7B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E7B#FFFFFF#000000##FFFFFF
##552E7B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#1C4179
Tritanopia (blue-blind)
#4E3E50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e7b;
/* rgb */ color: rgb(85, 46, 123);
/* oklch */ color: oklch(39.0% 0.128 304.5);
Tailwind
colors: {
  custom: {
    50: '#8869a2',
    500: '#552e7b',
    950: '#000000',
  },
}
SCSS
$custom: #552e7b;
$custom-light: #8869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552e7b",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 270.39,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.12762,
    "h": 304.5
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#552E7B
secondary
#82AA5B
accent
#D55393
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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