#504A67#504A67

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

Color values

HEX#504A67
RGBrgb(80, 74, 103)
HSLhsl(252, 16%, 35%)
HSVhsv(252, 28%, 40%)
CMYKcmyk(22.3%, 28.2%, 0%, 59.6%)
CIE-LABlab(33.10, 9.35, -15.96)
CIE-LCHlch(33.10, 18.50, 300.37°)
OKLaboklab(42.68% 0.0193 -0.0439)
OKLCHoklch(42.68% 0.048 293.8)
XYZxyz(8.2047, 7.5822, 13.8606)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A67 #61674A
analogous
#4A5367 #504A67 #5F4A67
triadic
#504A67 #67504A #4A6750
tetradic
#504A67 #674A53 #61674A #4A675F
square
#504A67 #674A53 #61674A #4A675F
split-complementary
#504A67 #675F4A #53674A
monochromatic
#191720 #343043 #504A67 #6C648B #8C84A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504A67#FFFFFF#000000##FFFFFF
##504A671.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)
#434E68
Deuteranopia (green-blind)
#444D66
Tritanopia (blue-blind)
#4B4F54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504a67;
/* rgb */ color: rgb(80, 74, 103);
/* oklch */ color: oklch(42.7% 0.048 293.8);
Tailwind
colors: {
  custom: {
    50: '#817c92',
    500: '#504a67',
    950: '#000000',
  },
}
SCSS
$custom: #504a67;
$custom-light: #817c92;
$custom-dark: #000000;
JSON
{
  "hex": "#504a67",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 103
  },
  "hsl": {
    "h": 252.414,
    "s": 16.384,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42683,
    "c": 0.04794,
    "h": 293.8
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#504A67
secondary
#8F9479
accent
#B96FAA
background
#F7F7F9
surface
#EEEEF1
border
#C9C9CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #504A67

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

Preview Lab → · Contrast checker → · Palette generator →

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