#504A5C#504A5C

#504A5C is a dark, muted violet. Relative luminance 0.074; OKLCH L 42.2% C 0.030 H 300.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#504A5C
RGBrgb(80, 74, 92)
HSLhsl(260, 11%, 33%)
HSVhsv(260, 20%, 36%)
CMYKcmyk(13%, 19.6%, 0%, 63.9%)
CIE-LABlab(32.65, 6.55, -9.67)
CIE-LCHlch(32.65, 11.68, 304.12°)
OKLaboklab(42.19% 0.0153 -0.0262)
OKLCHoklch(42.19% 0.03 300.3)
XYZxyz(7.6884, 7.3757, 11.1418)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A5C #565C4A
analogous
#4A4D5C #504A5C #594A5C
triadic
#504A5C #5C504A #4A5C50
tetradic
#504A5C #5C4A4D #565C4A #4A5C59
square
#504A5C #5C4A4D #565C4A #4A5C59
split-complementary
#504A5C #5C594A #4D5C4A
monochromatic
#151318 #332F3A #504A5C #6D657E #8C849C

Accessibility & contrast

On white

8.48
#504A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#504A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A5C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A5C#FFFFFF#000000##FFFFFF
##504A5C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#4E4D50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504a5c;
/* rgb */ color: rgb(80, 74, 92);
/* oklch */ color: oklch(42.2% 0.030 300.3);
Tailwind
colors: {
  custom: {
    50: '#817c8a',
    500: '#504a5c',
    950: '#000000',
  },
}
SCSS
$custom: #504a5c;
$custom-light: #817c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#504a5c",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 92
  },
  "hsl": {
    "h": 260,
    "s": 10.843,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42186,
    "c": 0.03039,
    "h": 300.3
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#504A5C
secondary
#848A77
accent
#B4749F
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #504A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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