#552D7F#552D7F

#552D7F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 303.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#552D7F
RGBrgb(85, 45, 127)
HSLhsl(269, 48%, 34%)
HSVhsv(269, 65%, 50%)
CMYKcmyk(33.1%, 64.6%, 0%, 50.2%)
CIE-LABlab(27.68, 35.43, -39.60)
CIE-LCHlch(27.68, 53.14, 311.82°)
OKLaboklab(39.19% 0.0734 -0.1123)
OKLCHoklch(39.19% 0.134 303.2)
XYZxyz(8.5146, 5.3404, 20.6568)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7F #577F2D
analogous
#2D2E7F #552D7F #7E2D7F
triadic
#552D7F #7F552D #2D7F55
tetradic
#552D7F #7F2D2E #577F2D #2D7F7E
square
#552D7F #7F2D2E #577F2D #2D7F7E
split-complementary
#552D7F #7F7E2D #2E7F2D
monochromatic
#190D25 #371D52 #552D7F #733DAC #9260C7

Accessibility & contrast

On white

10.15
#552D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552D7F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7F#FFFFFF#000000##FFFFFF
##552D7F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#4D3E51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7f;
/* rgb */ color: rgb(85, 45, 127);
/* oklch */ color: oklch(39.2% 0.134 303.2);
Tailwind
colors: {
  custom: {
    50: '#8868a5',
    500: '#552d7f',
    950: '#000000',
  },
}
SCSS
$custom: #552d7f;
$custom-light: #8868a5;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7f",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 269.268,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.13413,
    "h": 303.2
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#552D7F
secondary
#85AD5B
accent
#D75196
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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