#504C62#504C62

#504C62 is a dark, muted violet. Relative luminance 0.078; OKLCH L 42.9% C 0.036 H 293.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#504C62
RGBrgb(80, 76, 98)
HSLhsl(251, 13%, 34%)
HSVhsv(251, 22%, 38%)
CMYKcmyk(18.4%, 22.4%, 0%, 61.6%)
CIE-LABlab(33.47, 6.77, -12.23)
CIE-LCHlch(33.47, 13.98, 298.97°)
OKLaboklab(42.9% 0.0143 -0.0334)
OKLCHoklch(42.9% 0.036 293.1)
XYZxyz(8.0968, 7.7561, 12.6234)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C62 #5E624C
analogous
#4C5362 #504C62 #5B4C62
triadic
#504C62 #62504C #4C6250
tetradic
#504C62 #624C53 #5E624C #4C625B
square
#504C62 #624C53 #5E624C #4C625B
split-complementary
#504C62 #625B4C #53624C
monochromatic
#18171D #343140 #504C62 #6C6784 #8C87A2

Accessibility & contrast

On white

8.23
#504C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#504C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C62
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C62#FFFFFF#000000##FFFFFF
##504C621.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#4D4F53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504c62;
/* rgb */ color: rgb(80, 76, 98);
/* oklch */ color: oklch(42.9% 0.036 293.1);
Tailwind
colors: {
  custom: {
    50: '#817e8e',
    500: '#504c62',
    950: '#000000',
  },
}
SCSS
$custom: #504c62;
$custom-light: #817e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#504c62",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 98
  },
  "hsl": {
    "h": 250.909,
    "s": 12.644,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.0363,
    "h": 293.1
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#504C62
secondary
#8C907A
accent
#B672A9
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504C62

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

Preview Lab → · Contrast checker → · Palette generator →

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