#504658#504658

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

Color values

HEX#504658
RGBrgb(80, 70, 88)
HSLhsl(273, 11%, 31%)
HSVhsv(273, 20%, 35%)
CMYKcmyk(9.1%, 20.5%, 0%, 65.5%)
CIE-LABlab(31.32, 8.16, -9.12)
CIE-LCHlch(31.32, 12.23, 311.82°)
OKLaboklab(41.11% 0.0206 -0.0246)
OKLCHoklch(41.11% 0.032 309.9)
XYZxyz(7.2596, 6.7904, 10.1589)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504658 #4E5846
analogous
#474658 #504658 #584657
triadic
#504658 #585046 #465850
tetradic
#504658 #584746 #4E5846 #465758
square
#504658 #584746 #4E5846 #465758
split-complementary
#504658 #575846 #465847
monochromatic
#121014 #312B36 #504658 #6F617A #8E7F99

Accessibility & contrast

On white

8.91
#504658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#504658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504658
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504658#FFFFFF#000000##FFFFFF
##5046581.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#454A57
Tritanopia (blue-blind)
#4F484C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504658;
/* rgb */ color: rgb(80, 70, 88);
/* oklch */ color: oklch(41.1% 0.032 309.9);
Tailwind
colors: {
  custom: {
    50: '#817987',
    500: '#504658',
    950: '#000000',
  },
}
SCSS
$custom: #504658;
$custom-light: #817987;
$custom-dark: #000000;
JSON
{
  "hex": "#504658",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 88
  },
  "hsl": {
    "h": 273.333,
    "s": 11.392,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4111,
    "c": 0.03215,
    "h": 309.9
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#504658
secondary
#7C8773
accent
#B47390
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504658

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

Preview Lab → · Contrast checker → · Palette generator →

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