#552E7D#552E7D

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

Color values

HEX#552E7D
RGBrgb(85, 46, 125)
HSLhsl(270, 46%, 34%)
HSVhsv(270, 63%, 49%)
CMYKcmyk(32%, 63.2%, 0%, 51%)
CIE-LABlab(27.75, 34.34, -38.23)
CIE-LCHlch(27.75, 51.39, 311.93°)
OKLaboklab(39.19% 0.0722 -0.1082)
OKLCHoklch(39.19% 0.13 303.7)
XYZxyz(8.4241, 5.3660, 19.9900)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E7D #567D2E
analogous
#2E2E7D #552E7D #7C2E7D
triadic
#552E7D #7D552E #2E7D55
tetradic
#552E7D #7D2E2E #567D2E #2E7D7C
square
#552E7D #7D2E2E #567D2E #2E7D7C
split-complementary
#552E7D #7D7C2E #2E7D2E
monochromatic
#180D24 #371E50 #552E7D #733EAA #9261C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552E7D#FFFFFF#000000##FFFFFF
##552E7D1.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)
#024180
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#4E3E51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e7d;
/* rgb */ color: rgb(85, 46, 125);
/* oklch */ color: oklch(39.2% 0.130 303.7);
Tailwind
colors: {
  custom: {
    50: '#8869a3',
    500: '#552e7d',
    950: '#000000',
  },
}
SCSS
$custom: #552e7d;
$custom-light: #8869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552e7d",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 269.62,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.13011,
    "h": 303.7
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#552E7D
secondary
#84AB5B
accent
#D65295
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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