#504C60#504C60

#504C60 is a dark, muted violet. Relative luminance 0.077; OKLCH L 42.8% C 0.033 H 294.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#504C60
RGBrgb(80, 76, 96)
HSLhsl(252, 12%, 34%)
HSVhsv(252, 21%, 38%)
CMYKcmyk(16.7%, 20.8%, 0%, 62.4%)
CIE-LABlab(33.39, 6.27, -11.08)
CIE-LCHlch(33.39, 12.73, 299.48°)
OKLaboklab(42.81% 0.0135 -0.0302)
OKLCHoklch(42.81% 0.033 294.1)
XYZxyz(8.0036, 7.7188, 12.1323)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C60 #5C604C
analogous
#4C5260 #504C60 #5A4C60
triadic
#504C60 #60504C #4C6050
tetradic
#504C60 #604C52 #5C604C #4C605A
square
#504C60 #604C52 #5C604C #4C605A
split-complementary
#504C60 #605A4C #52604C
monochromatic
#17161C #34313E #504C60 #6C6782 #8C87A0

Accessibility & contrast

On white

8.26
#504C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#504C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C60
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C60#FFFFFF#000000##FFFFFF
##504C601.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F61
Deuteranopia (green-blind)
#484E5F
Tritanopia (blue-blind)
#4D4F53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504c60;
/* rgb */ color: rgb(80, 76, 96);
/* oklch */ color: oklch(42.8% 0.033 294.1);
Tailwind
colors: {
  custom: {
    50: '#817e8d',
    500: '#504c60',
    950: '#000000',
  },
}
SCSS
$custom: #504c60;
$custom-light: #817e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#504c60",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 96
  },
  "hsl": {
    "h": 252,
    "s": 11.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.03307,
    "h": 294.1
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#504C60
secondary
#8A8E7A
accent
#B573A7
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504C60

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

Preview Lab → · Contrast checker → · Palette generator →

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