#552F7D#552F7D

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

Color values

HEX#552F7D
RGBrgb(85, 47, 125)
HSLhsl(269, 45%, 34%)
HSVhsv(269, 62%, 49%)
CMYKcmyk(32%, 62.4%, 0%, 51%)
CIE-LABlab(27.97, 33.77, -37.89)
CIE-LCHlch(27.97, 50.75, 311.70°)
OKLaboklab(39.35% 0.0709 -0.1072)
OKLCHoklch(39.35% 0.129 303.5)
XYZxyz(8.4637, 5.4450, 20.0032)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F7D #577D2F
analogous
#2F307D #552F7D #7C2F7D
triadic
#552F7D #7D552F #2F7D55
tetradic
#552F7D #7D2F30 #577D2F #2F7D7C
square
#552F7D #7D2F30 #577D2F #2F7D7C
split-complementary
#552F7D #7D7C2F #307D2F
monochromatic
#190E24 #371E51 #552F7D #7340A9 #9262C4

Accessibility & contrast

On white

10.05
#552F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F7D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F7D#FFFFFF#000000##FFFFFF
##552F7D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417F
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#4E3F51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552f7d;
/* rgb */ color: rgb(85, 47, 125);
/* oklch */ color: oklch(39.3% 0.129 303.5);
Tailwind
colors: {
  custom: {
    50: '#8869a3',
    500: '#552f7d',
    950: '#000000',
  },
}
SCSS
$custom: #552f7d;
$custom-light: #8869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552f7d",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 269.231,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.12854,
    "h": 303.5
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#552F7D
secondary
#85AB5D
accent
#D55396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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