#504657#504657

#504657 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.1% C 0.031 H 311.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#504657
RGBrgb(80, 70, 87)
HSLhsl(275, 11%, 31%)
HSVhsv(275, 20%, 34%)
CMYKcmyk(8%, 19.5%, 0%, 65.9%)
CIE-LABlab(31.29, 7.92, -8.53)
CIE-LCHlch(31.29, 11.64, 312.86°)
OKLaboklab(41.07% 0.0203 -0.023)
OKLCHoklch(41.07% 0.031 311.3)
XYZxyz(7.2184, 6.7740, 9.9422)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504657 #4D5746
analogous
#474657 #504657 #574655
triadic
#504657 #575046 #465750
tetradic
#504657 #574746 #4D5746 #465557
square
#504657 #574746 #4D5746 #465557
split-complementary
#504657 #555746 #465747
monochromatic
#120F13 #312B35 #504657 #6F6179 #8E7F98

Accessibility & contrast

On white

8.92
#504657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#504657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504657
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504657#FFFFFF#000000##FFFFFF
##5046571.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#4F484C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504657;
/* rgb */ color: rgb(80, 70, 87);
/* oklch */ color: oklch(41.1% 0.031 311.3);
Tailwind
colors: {
  custom: {
    50: '#817986',
    500: '#504657',
    950: '#000000',
  },
}
SCSS
$custom: #504657;
$custom-light: #817986;
$custom-dark: #000000;
JSON
{
  "hex": "#504657",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 87
  },
  "hsl": {
    "h": 275.294,
    "s": 10.828,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.03067,
    "h": 311.3
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#504657
secondary
#7B8673
accent
#B4748E
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504657

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

Preview Lab → · Contrast checker → · Palette generator →

#504657 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva