#552E7F#552E7F

#552E7F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 302.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#552E7F
RGBrgb(85, 46, 127)
HSLhsl(269, 47%, 34%)
HSVhsv(269, 64%, 50%)
CMYKcmyk(33.1%, 63.8%, 0%, 50.2%)
CIE-LABlab(27.89, 34.87, -39.27)
CIE-LCHlch(27.89, 52.51, 311.60°)
OKLaboklab(39.34% 0.0721 -0.1113)
OKLCHoklch(39.34% 0.133 302.9)
XYZxyz(8.5532, 5.4176, 20.6697)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E7F #587F2E
analogous
#2E307F #552E7F #7E2E7F
triadic
#552E7F #7F552E #2E7F55
tetradic
#552E7F #7F2E30 #587F2E #2E7F7E
square
#552E7F #7F2E30 #587F2E #2E7F7E
split-complementary
#552E7F #7F7E2E #307F2E
monochromatic
#190D25 #371E52 #552E7F #733EAC #9261C6

Accessibility & contrast

On white

10.08
#552E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E7F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E7F#FFFFFF#000000##FFFFFF
##552E7F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#17427D
Tritanopia (blue-blind)
#4D3F52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552e7f;
/* rgb */ color: rgb(85, 46, 127);
/* oklch */ color: oklch(39.3% 0.133 302.9);
Tailwind
colors: {
  custom: {
    50: '#8869a5',
    500: '#552e7f',
    950: '#000000',
  },
}
SCSS
$custom: #552e7f;
$custom-light: #8869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#552e7f",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 268.889,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.1326,
    "h": 302.9
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#552E7F
secondary
#86AD5C
accent
#D65196
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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