#504C64#504C64

#504C64 is a dark, muted violet. Relative luminance 0.078; OKLCH L 43.0% C 0.040 H 292.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#504C64
RGBrgb(80, 76, 100)
HSLhsl(250, 14%, 35%)
HSVhsv(250, 24%, 39%)
CMYKcmyk(20%, 24%, 0%, 60.8%)
CIE-LABlab(33.55, 7.28, -13.37)
CIE-LCHlch(33.55, 15.22, 298.58°)
OKLaboklab(42.99% 0.015 -0.0366)
OKLCHoklch(42.99% 0.04 292.3)
XYZxyz(8.1924, 7.7944, 13.1270)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C64 #60644C
analogous
#4C5464 #504C64 #5C4C64
triadic
#504C64 #64504C #4C6450
tetradic
#504C64 #644C54 #60644C #4C645C
square
#504C64 #644C54 #60644C #4C645C
split-complementary
#504C64 #645C4C #54644C
monochromatic
#18171E #343241 #504C64 #6C6687 #8C87A4

Accessibility & contrast

On white

8.21
#504C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#504C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C64
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C64#FFFFFF#000000##FFFFFF
##504C641.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F65
Deuteranopia (green-blind)
#474E63
Tritanopia (blue-blind)
#4C5054
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504c64;
/* rgb */ color: rgb(80, 76, 100);
/* oklch */ color: oklch(43.0% 0.040 292.3);
Tailwind
colors: {
  custom: {
    50: '#817e90',
    500: '#504c64',
    950: '#000000',
  },
}
SCSS
$custom: #504c64;
$custom-light: #817e90;
$custom-dark: #000000;
JSON
{
  "hex": "#504c64",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 100
  },
  "hsl": {
    "h": 250,
    "s": 13.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.03954,
    "h": 292.3
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#504C64
secondary
#8E917A
accent
#B671AB
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504C64

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

Preview Lab → · Contrast checker → · Palette generator →

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