#552E72#552E72

#552E72 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.4% C 0.116 H 308.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#552E72
RGBrgb(85, 46, 114)
HSLhsl(274, 43%, 31%)
HSVhsv(274, 60%, 45%)
CMYKcmyk(25.4%, 59.6%, 0%, 55.3%)
CIE-LABlab(27.02, 31.48, -32.44)
CIE-LCHlch(27.02, 45.21, 314.14°)
OKLaboklab(38.42% 0.0722 -0.0913)
OKLCHoklch(38.42% 0.116 308.4)
XYZxyz(7.7600, 5.1003, 16.4920)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E72 #4B722E
analogous
#332E72 #552E72 #722E6D
triadic
#552E72 #72552E #2E7255
tetradic
#552E72 #72332E #4B722E #2E6D72
square
#552E72 #72332E #4B722E #2E6D72
split-complementary
#552E72 #6D722E #2E7233
monochromatic
#140B1B #341C46 #552E72 #76409E #945DBE

Accessibility & contrast

On white

10.40
#552E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#552E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E72
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E72#FFFFFF#000000##FFFFFF
##552E721.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#513B4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552e72;
/* rgb */ color: rgb(85, 46, 114);
/* oklch */ color: oklch(38.4% 0.116 308.4);
Tailwind
colors: {
  custom: {
    50: '#87699b',
    500: '#552e72',
    950: '#000000',
  },
}
SCSS
$custom: #552e72;
$custom-light: #87699b;
$custom-dark: #000000;
JSON
{
  "hex": "#552e72",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 274.412,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.11638,
    "h": 308.4
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#552E72
secondary
#78A358
accent
#D2568B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552E72

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

Preview Lab → · Contrast checker → · Palette generator →

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