#504458#504458

#504458 is a dark, muted violet. Relative luminance 0.065; OKLCH L 40.7% C 0.036 H 311.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#504458
RGBrgb(80, 68, 88)
HSLhsl(276, 13%, 31%)
HSVhsv(276, 23%, 35%)
CMYKcmyk(9.1%, 22.7%, 0%, 65.5%)
CIE-LABlab(30.75, 9.44, -9.99)
CIE-LCHlch(30.75, 13.75, 313.39°)
OKLaboklab(40.66% 0.0241 -0.0271)
OKLCHoklch(40.66% 0.036 311.7)
XYZxyz(7.1365, 6.5444, 10.1179)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504458 #4C5844
analogous
#464458 #504458 #584456
triadic
#504458 #585044 #445850
tetradic
#504458 #584644 #4C5844 #445658
square
#504458 #584644 #4C5844 #445658
split-complementary
#504458 #565844 #445846
monochromatic
#110F13 #312935 #504458 #6F5F7B #8E7C9A

Accessibility & contrast

On white

9.10
#504458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#504458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504458
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504458#FFFFFF#000000##FFFFFF
##5044581.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#4F464B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #504458;
/* rgb */ color: rgb(80, 68, 88);
/* oklch */ color: oklch(40.7% 0.036 311.7);
Tailwind
colors: {
  custom: {
    50: '#817887',
    500: '#504458',
    950: '#000000',
  },
}
SCSS
$custom: #504458;
$custom-light: #817887;
$custom-dark: #000000;
JSON
{
  "hex": "#504458",
  "rgb": {
    "r": 80,
    "g": 68,
    "b": 88
  },
  "hsl": {
    "h": 276,
    "s": 12.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.03624,
    "h": 311.7
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#504458
secondary
#7A8771
accent
#B6728D
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #504458

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

Preview Lab → · Contrast checker → · Palette generator →

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