#552F7A#552F7A

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

Color values

HEX#552F7A
RGBrgb(85, 47, 122)
HSLhsl(270, 44%, 33%)
HSVhsv(270, 61%, 48%)
CMYKcmyk(30.3%, 61.5%, 0%, 52.2%)
CIE-LABlab(27.76, 32.97, -36.33)
CIE-LCHlch(27.76, 49.06, 312.23°)
OKLaboklab(39.13% 0.0709 -0.1026)
OKLCHoklch(39.13% 0.125 304.6)
XYZxyz(8.2749, 5.3695, 19.0091)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F7A #547A2F
analogous
#2F2F7A #552F7A #7A2F79
triadic
#552F7A #7A552F #2F7A55
tetradic
#552F7A #7A2F2F #547A2F #2F797A
square
#552F7A #7A2F2F #547A2F #2F797A
split-complementary
#552F7A #797A2F #2F7A2F
monochromatic
#170D22 #361E4E #552F7A #7440A6 #9261C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552F7A#FFFFFF#000000##FFFFFF
##552F7A1.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)
#0D417C
Deuteranopia (green-blind)
#1F4278
Tritanopia (blue-blind)
#4E3E50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552f7a;
/* rgb */ color: rgb(85, 47, 122);
/* oklch */ color: oklch(39.1% 0.125 304.6);
Tailwind
colors: {
  custom: {
    50: '#8869a1',
    500: '#552f7a',
    950: '#000000',
  },
}
SCSS
$custom: #552f7a;
$custom-light: #8869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552f7a",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 270.4,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.12477,
    "h": 304.6
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#552F7A
secondary
#82A95C
accent
#D45493
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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