#552D7A#552D7A

#552D7A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.128 H 305.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#552D7A
RGBrgb(85, 45, 122)
HSLhsl(271, 46%, 33%)
HSVhsv(271, 63%, 48%)
CMYKcmyk(30.3%, 63.1%, 0%, 52.2%)
CIE-LABlab(27.33, 34.12, -37.01)
CIE-LCHlch(27.33, 50.34, 312.67°)
OKLaboklab(38.82% 0.0736 -0.1047)
OKLCHoklch(38.82% 0.128 305.1)
XYZxyz(8.1968, 5.2133, 18.9830)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7A #527A2D
analogous
#2E2D7A #552D7A #7A2D78
triadic
#552D7A #7A552D #2D7A55
tetradic
#552D7A #7A2E2D #527A2D #2D787A
square
#552D7A #7A2E2D #527A2D #2D787A
split-complementary
#552D7A #787A2D #2D7A2E
monochromatic
#170C21 #361D4D #552D7A #743DA7 #935EC4

Accessibility & contrast

On white

10.28
#552D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#552D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D7A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7A#FFFFFF#000000##FFFFFF
##552D7A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#4F3D4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7a;
/* rgb */ color: rgb(85, 45, 122);
/* oklch */ color: oklch(38.8% 0.128 305.1);
Tailwind
colors: {
  custom: {
    50: '#8868a1',
    500: '#552d7a',
    950: '#000000',
  },
}
SCSS
$custom: #552d7a;
$custom-light: #8868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7a",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 271.169,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.12795,
    "h": 305.1
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#552D7A
secondary
#80AA59
accent
#D65291
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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