#552F7B#552F7B

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

Color values

HEX#552F7B
RGBrgb(85, 47, 123)
HSLhsl(270, 45%, 33%)
HSVhsv(270, 62%, 48%)
CMYKcmyk(30.9%, 61.8%, 0%, 51.8%)
CIE-LABlab(27.83, 33.24, -36.85)
CIE-LCHlch(27.83, 49.62, 312.05°)
OKLaboklab(39.2% 0.0709 -0.1042)
OKLCHoklch(39.2% 0.126 304.2)
XYZxyz(8.3372, 5.3944, 19.3371)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F7B #557B2F
analogous
#2F2F7B #552F7B #7B2F7B
triadic
#552F7B #7B552F #2F7B55
tetradic
#552F7B #7B2F2F #557B2F #2F7B7B
square
#552F7B #7B2F2F #557B2F #2F7B7B
split-complementary
#552F7B #7B7B2F #2F7B2F
monochromatic
#180D22 #361E4F #552F7B #7440A7 #9262C3

Accessibility & contrast

On white

10.10
#552F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F7B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F7B#FFFFFF#000000##FFFFFF
##552F7B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417D
Deuteranopia (green-blind)
#1E4279
Tritanopia (blue-blind)
#4E3E50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552f7b;
/* rgb */ color: rgb(85, 47, 123);
/* oklch */ color: oklch(39.2% 0.126 304.2);
Tailwind
colors: {
  custom: {
    50: '#8869a2',
    500: '#552f7b',
    950: '#000000',
  },
}
SCSS
$custom: #552f7b;
$custom-light: #8869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552f7b",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 270,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.12603,
    "h": 304.2
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#552F7B
secondary
#83AA5C
accent
#D45394
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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