#504A5A#504A5A

#504A5A is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.1% C 0.027 H 302.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#504A5A
RGBrgb(80, 74, 90)
HSLhsl(263, 10%, 32%)
HSVhsv(263, 18%, 35%)
CMYKcmyk(11.1%, 17.8%, 0%, 64.7%)
CIE-LABlab(32.57, 6.07, -8.51)
CIE-LCHlch(32.57, 10.46, 305.49°)
OKLaboklab(42.1% 0.0146 -0.023)
OKLCHoklch(42.1% 0.027 302.3)
XYZxyz(7.6022, 7.3412, 10.6874)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A5A #545A4A
analogous
#4A4C5A #504A5A #584A5A
triadic
#504A5A #5A504A #4A5A50
tetradic
#504A5A #5A4A4C #545A4A #4A5A58
square
#504A5A #5A4A4C #545A4A #4A5A58
split-complementary
#504A5A #5A584A #4C5A4A
monochromatic
#141317 #322E38 #504A5A #6E667C #8C849A

Accessibility & contrast

On white

8.51
#504A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A5A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A5A#FFFFFF#000000##FFFFFF
##504A5A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#484D59
Tritanopia (blue-blind)
#4F4C4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504a5a;
/* rgb */ color: rgb(80, 74, 90);
/* oklch */ color: oklch(42.1% 0.027 302.3);
Tailwind
colors: {
  custom: {
    50: '#817c88',
    500: '#504a5a',
    950: '#000000',
  },
}
SCSS
$custom: #504a5a;
$custom-light: #817c88;
$custom-dark: #000000;
JSON
{
  "hex": "#504a5a",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 90
  },
  "hsl": {
    "h": 262.5,
    "s": 9.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.02724,
    "h": 302.3
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#504A5A
secondary
#828977
accent
#B3759C
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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