#552F72#552F72

#552F72 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.6% C 0.115 H 308.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#552F72
RGBrgb(85, 47, 114)
HSLhsl(274, 42%, 32%)
HSVhsv(274, 59%, 45%)
CMYKcmyk(25.4%, 58.8%, 0%, 55.3%)
CIE-LABlab(27.24, 30.90, -32.09)
CIE-LCHlch(27.24, 44.55, 313.92°)
OKLaboklab(38.58% 0.0708 -0.0902)
OKLCHoklch(38.58% 0.115 308.1)
XYZxyz(7.7995, 5.1793, 16.5052)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F72 #4C722F
analogous
#342F72 #552F72 #722F6E
triadic
#552F72 #72552F #2F7255
tetradic
#552F72 #72342F #4C722F #2F6E72
square
#552F72 #72342F #4C722F #2F6E72
split-complementary
#552F72 #6E722F #2F7234
monochromatic
#140B1B #351D47 #552F72 #75419D #945FBD

Accessibility & contrast

On white

10.32
#552F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F72
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F72#FFFFFF#000000##FFFFFF
##552F721.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#513B4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552f72;
/* rgb */ color: rgb(85, 47, 114);
/* oklch */ color: oklch(38.6% 0.115 308.1);
Tailwind
colors: {
  custom: {
    50: '#87699b',
    500: '#552f72',
    950: '#000000',
  },
}
SCSS
$custom: #552f72;
$custom-light: #87699b;
$custom-dark: #000000;
JSON
{
  "hex": "#552f72",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 274.03,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.11468,
    "h": 308.1
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#552F72
secondary
#79A35A
accent
#D1568C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552F72

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

Preview Lab → · Contrast checker → · Palette generator →

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