#552E7C#552E7C

#552E7C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.129 H 304.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#552E7C
RGBrgb(85, 46, 124)
HSLhsl(270, 46%, 33%)
HSVhsv(270, 63%, 49%)
CMYKcmyk(31.5%, 62.9%, 0%, 51.4%)
CIE-LABlab(27.68, 34.08, -37.72)
CIE-LCHlch(27.68, 50.83, 312.10°)
OKLaboklab(39.12% 0.0722 -0.1067)
OKLCHoklch(39.12% 0.129 304.1)
XYZxyz(8.3606, 5.3405, 19.6552)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E7C #557C2E
analogous
#2E2E7C #552E7C #7C2E7C
triadic
#552E7C #7C552E #2E7C55
tetradic
#552E7C #7C2E2E #557C2E #2E7C7C
square
#552E7C #7C2E2E #557C2E #2E7C7C
split-complementary
#552E7C #7C7C2E #2E7C2E
monochromatic
#180D23 #361D4F #552E7C #743FA9 #9260C4

Accessibility & contrast

On white

10.15
#552E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552E7C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E7C#FFFFFF#000000##FFFFFF
##552E7C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#1B417A
Tritanopia (blue-blind)
#4E3E50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e7c;
/* rgb */ color: rgb(85, 46, 124);
/* oklch */ color: oklch(39.1% 0.129 304.1);
Tailwind
colors: {
  custom: {
    50: '#8869a2',
    500: '#552e7c',
    950: '#000000',
  },
}
SCSS
$custom: #552e7c;
$custom-light: #8869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552e7c",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 270,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.12886,
    "h": 304.1
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#552E7C
secondary
#83AB5B
accent
#D65294
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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