#552D74#552D74

#552D74 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.121 H 307.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#552D74
RGBrgb(85, 45, 116)
HSLhsl(274, 44%, 32%)
HSVhsv(274, 61%, 45%)
CMYKcmyk(26.7%, 61.2%, 0%, 54.5%)
CIE-LABlab(26.93, 32.57, -33.86)
CIE-LCHlch(26.93, 46.98, 313.89°)
OKLaboklab(38.4% 0.0737 -0.0954)
OKLCHoklch(38.4% 0.121 307.7)
XYZxyz(7.8364, 5.0691, 17.0852)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D74 #4C742D
analogous
#322D74 #552D74 #742D70
triadic
#552D74 #74552D #2D7455
tetradic
#552D74 #74322D #4C742D #2D7074
square
#552D74 #74322D #4C742D #2D7074
split-complementary
#552D74 #70742D #2D7432
monochromatic
#140B1C #351C48 #552D74 #753EA0 #945CC0

Accessibility & contrast

On white

10.43
#552D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#552D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D74
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D74#FFFFFF#000000##FFFFFF
##552D741.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#503B4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552d74;
/* rgb */ color: rgb(85, 45, 116);
/* oklch */ color: oklch(38.4% 0.121 307.7);
Tailwind
colors: {
  custom: {
    50: '#87689c',
    500: '#552d74',
    950: '#000000',
  },
}
SCSS
$custom: #552d74;
$custom-light: #87689c;
$custom-dark: #000000;
JSON
{
  "hex": "#552d74",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 273.803,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.12053,
    "h": 307.7
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#552D74
secondary
#79A557
accent
#D4548C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552D74

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

Preview Lab → · Contrast checker → · Palette generator →

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