#552E77#552E77

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

Color values

HEX#552E77
RGBrgb(85, 46, 119)
HSLhsl(272, 44%, 32%)
HSVhsv(272, 61%, 47%)
CMYKcmyk(28.6%, 61.3%, 0%, 53.3%)
CIE-LABlab(27.35, 32.77, -35.10)
CIE-LCHlch(27.35, 48.02, 313.03°)
OKLaboklab(38.76% 0.0723 -0.099)
OKLCHoklch(38.76% 0.123 306.1)
XYZxyz(8.0524, 5.2173, 18.0320)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E77 #50772E
analogous
#312E77 #552E77 #772E74
triadic
#552E77 #77552E #2E7755
tetradic
#552E77 #77312E #50772E #2E7477
square
#552E77 #77312E #50772E #2E7477
split-complementary
#552E77 #74772E #2E7731
monochromatic
#160C1F #351D4B #552E77 #753FA3 #935EC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552E77#FFFFFF#000000##FFFFFF
##552E771.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)
#0F3F79
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#4F3C4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e77;
/* rgb */ color: rgb(85, 46, 119);
/* oklch */ color: oklch(38.8% 0.123 306.1);
Tailwind
colors: {
  custom: {
    50: '#87699f',
    500: '#552e77',
    950: '#000000',
  },
}
SCSS
$custom: #552e77;
$custom-light: #87699f;
$custom-dark: #000000;
JSON
{
  "hex": "#552e77",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 272.055,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38764,
    "c": 0.12262,
    "h": 306.1
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#552E77
secondary
#7EA859
accent
#D45490
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552E77

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

Preview Lab → · Contrast checker → · Palette generator →

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