#504C5A#504C5A

#504C5A is a dark, muted violet. Relative luminance 0.076; OKLCH L 42.6% C 0.023 H 298.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#504C5A
RGBrgb(80, 76, 90)
HSLhsl(257, 8%, 33%)
HSVhsv(257, 16%, 35%)
CMYKcmyk(11.1%, 15.6%, 0%, 64.7%)
CIE-LABlab(33.16, 4.79, -7.62)
CIE-LCHlch(33.16, 9.01, 302.17°)
OKLaboklab(42.56% 0.0112 -0.0206)
OKLCHoklch(42.56% 0.023 298.5)
XYZxyz(7.7378, 7.6125, 10.7326)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C5A #565A4C
analogous
#4C4F5A #504C5A #574C5A
triadic
#504C5A #5A504C #4C5A50
tetradic
#504C5A #5A4C4F #565A4C #4C5A57
square
#504C5A #5A4C4F #565A4C #4C5A57
split-complementary
#504C5A #5A574C #4F5A4C
monochromatic
#151418 #333039 #504C5A #6D687B #8C879A

Accessibility & contrast

On white

8.32
#504C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#504C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C5A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C5A#FFFFFF#000000##FFFFFF
##504C5A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#4E4E51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504c5a;
/* rgb */ color: rgb(80, 76, 90);
/* oklch */ color: oklch(42.6% 0.023 298.5);
Tailwind
colors: {
  custom: {
    50: '#817e88',
    500: '#504c5a',
    950: '#000000',
  },
}
SCSS
$custom: #504c5a;
$custom-light: #817e88;
$custom-dark: #000000;
JSON
{
  "hex": "#504c5a",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 90
  },
  "hsl": {
    "h": 257.143,
    "s": 8.434,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.02341,
    "h": 298.5
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#504C5A
secondary
#848879
accent
#B176A1
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504C5A

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

Preview Lab → · Contrast checker → · Palette generator →

#504C5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva