#552F7E#552F7E

#552F7E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.130 H 303.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#552F7E
RGBrgb(85, 47, 126)
HSLhsl(269, 46%, 34%)
HSVhsv(269, 63%, 49%)
CMYKcmyk(32.5%, 62.7%, 0%, 50.6%)
CIE-LABlab(28.04, 34.03, -38.41)
CIE-LCHlch(28.04, 51.32, 311.54°)
OKLaboklab(39.42% 0.0708 -0.1088)
OKLCHoklch(39.42% 0.13 303.1)
XYZxyz(8.5279, 5.4707, 20.3413)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F7E #587E2F
analogous
#2F317E #552F7E #7D2F7E
triadic
#552F7E #7E552F #2F7E55
tetradic
#552F7E #7E2F31 #587E2F #2F7E7D
square
#552F7E #7E2F31 #587E2F #2F7E7D
split-complementary
#552F7E #7E7D2F #317E2F
monochromatic
#190E25 #371E51 #552F7E #7340AB #9263C5

Accessibility & contrast

On white

10.03
#552F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#552F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F7E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F7E#FFFFFF#000000##FFFFFF
##552F7E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#4D3F52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552f7e;
/* rgb */ color: rgb(85, 47, 126);
/* oklch */ color: oklch(39.4% 0.130 303.1);
Tailwind
colors: {
  custom: {
    50: '#8869a4',
    500: '#552f7e',
    950: '#000000',
  },
}
SCSS
$custom: #552f7e;
$custom-light: #8869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#552f7e",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 268.861,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.1298,
    "h": 303.1
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#552F7E
secondary
#86AC5D
accent
#D55296
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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