#552F74#552F74

#552F74 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.7% C 0.117 H 307.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#552F74
RGBrgb(85, 47, 116)
HSLhsl(273, 42%, 32%)
HSVhsv(273, 59%, 45%)
CMYKcmyk(26.7%, 59.5%, 0%, 54.5%)
CIE-LABlab(27.37, 31.41, -33.16)
CIE-LCHlch(27.37, 45.67, 313.45°)
OKLaboklab(38.72% 0.0709 -0.0934)
OKLCHoklch(38.72% 0.117 307.2)
XYZxyz(7.9146, 5.2254, 17.1113)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F74 #4E742F
analogous
#332F74 #552F74 #742F71
triadic
#552F74 #74552F #2F7455
tetradic
#552F74 #74332F #4E742F #2F7174
square
#552F74 #74332F #4E742F #2F7174
split-complementary
#552F74 #71742F #2F7433
monochromatic
#150C1D #351D48 #552F74 #7541A0 #945FBE

Accessibility & contrast

On white

10.27
#552F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F74
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F74#FFFFFF#000000##FFFFFF
##552F741.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#503C4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552f74;
/* rgb */ color: rgb(85, 47, 116);
/* oklch */ color: oklch(38.7% 0.117 307.2);
Tailwind
colors: {
  custom: {
    50: '#87699c',
    500: '#552f74',
    950: '#000000',
  },
}
SCSS
$custom: #552f74;
$custom-light: #87699c;
$custom-dark: #000000;
JSON
{
  "hex": "#552f74",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 273.043,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.1172,
    "h": 307.2
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#552F74
secondary
#7CA55A
accent
#D2568E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552F74

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

Preview Lab → · Contrast checker → · Palette generator →

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