#552F7C#552F7C

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

Color values

HEX#552F7C
RGBrgb(85, 47, 124)
HSLhsl(270, 45%, 34%)
HSVhsv(270, 62%, 49%)
CMYKcmyk(31.5%, 62.1%, 0%, 51.4%)
CIE-LABlab(27.90, 33.50, -37.37)
CIE-LCHlch(27.90, 50.19, 311.87°)
OKLaboklab(39.28% 0.0709 -0.1057)
OKLCHoklch(39.28% 0.127 303.8)
XYZxyz(8.4001, 5.4196, 19.6684)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F7C #567C2F
analogous
#2F307C #552F7C #7B2F7C
triadic
#552F7C #7C552F #2F7C55
tetradic
#552F7C #7C2F30 #567C2F #2F7C7B
square
#552F7C #7C2F30 #567C2F #2F7C7B
split-complementary
#552F7C #7C7B2F #307C2F
monochromatic
#180D23 #371E50 #552F7C #7340A8 #9262C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552F7C#FFFFFF#000000##FFFFFF
##552F7C1.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)
#08417E
Deuteranopia (green-blind)
#1C427A
Tritanopia (blue-blind)
#4E3F51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552f7c;
/* rgb */ color: rgb(85, 47, 124);
/* oklch */ color: oklch(39.3% 0.127 303.8);
Tailwind
colors: {
  custom: {
    50: '#8869a2',
    500: '#552f7c',
    950: '#000000',
  },
}
SCSS
$custom: #552f7c;
$custom-light: #8869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552f7c",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 269.61,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.12728,
    "h": 303.8
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#552F7C
secondary
#84AA5C
accent
#D55395
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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