#504B60#504B60

#504B60 is a dark, muted violet. Relative luminance 0.076; OKLCH L 42.6% C 0.035 H 295.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#504B60
RGBrgb(80, 75, 96)
HSLhsl(254, 12%, 34%)
HSVhsv(254, 22%, 38%)
CMYKcmyk(16.7%, 21.9%, 0%, 62.4%)
CIE-LABlab(33.10, 6.90, -11.53)
CIE-LCHlch(33.10, 13.44, 300.91°)
OKLaboklab(42.59% 0.0152 -0.0314)
OKLCHoklch(42.59% 0.035 295.8)
XYZxyz(7.9352, 7.5821, 12.1095)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B60 #5B604B
analogous
#4B5060 #504B60 #5A4B60
triadic
#504B60 #60504B #4B6050
tetradic
#504B60 #604B50 #5B604B #4B605A
square
#504B60 #604B50 #5B604B #4B605A
split-complementary
#504B60 #605A4B #50604B
monochromatic
#17151B #33303E #504B60 #6D6682 #8C85A0

Accessibility & contrast

On white

8.35
#504B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#504B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504B60
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504B60#FFFFFF#000000##FFFFFF
##504B601.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E61
Deuteranopia (green-blind)
#474E5F
Tritanopia (blue-blind)
#4D4E52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504b60;
/* rgb */ color: rgb(80, 75, 96);
/* oklch */ color: oklch(42.6% 0.035 295.8);
Tailwind
colors: {
  custom: {
    50: '#817d8d',
    500: '#504b60',
    950: '#000000',
  },
}
SCSS
$custom: #504b60;
$custom-light: #817d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#504b60",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 96
  },
  "hsl": {
    "h": 254.286,
    "s": 12.281,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.03489,
    "h": 295.8
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#504B60
secondary
#898E79
accent
#B573A5
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504B60

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

Preview Lab → · Contrast checker → · Palette generator →

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