#552C7E#552C7E

#552C7E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.134 H 303.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#552C7E
RGBrgb(85, 44, 126)
HSLhsl(270, 48%, 33%)
HSVhsv(270, 65%, 49%)
CMYKcmyk(32.5%, 65.1%, 0%, 50.6%)
CIE-LABlab(27.41, 35.73, -39.42)
CIE-LCHlch(27.41, 53.21, 312.19°)
OKLaboklab(38.96% 0.0747 -0.1117)
OKLCHoklch(38.96% 0.134 303.8)
XYZxyz(8.4120, 5.2390, 20.3027)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C7E #557E2C
analogous
#2C2C7E #552C7E #7E2C7E
triadic
#552C7E #7E552C #2C7E55
tetradic
#552C7E #7E2C2C #557E2C #2C7E7E
square
#552C7E #7E2C2C #557E2C #2C7E7E
split-complementary
#552C7E #7E7E2C #2C7E2C
monochromatic
#180C23 #361C51 #552C7E #743CAB #925EC7

Accessibility & contrast

On white

10.25
#552C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C7E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C7E#FFFFFF#000000##FFFFFF
##552C7E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#15417C
Tritanopia (blue-blind)
#4D3D51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552c7e;
/* rgb */ color: rgb(85, 44, 126);
/* oklch */ color: oklch(39.0% 0.134 303.8);
Tailwind
colors: {
  custom: {
    50: '#8868a4',
    500: '#552c7e',
    950: '#000000',
  },
}
SCSS
$custom: #552c7e;
$custom-light: #8868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#552c7e",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 270,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.13442,
    "h": 303.8
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#552C7E
secondary
#83AD59
accent
#D85094
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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