#4E404F#4E404F

#4E404F is a dark, muted purple. Relative luminance 0.059; OKLCH L 39.2% C 0.031 H 324.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4E404F
RGBrgb(78, 64, 79)
HSLhsl(296, 10%, 28%)
HSVhsv(296, 19%, 31%)
CMYKcmyk(1.3%, 19%, 0%, 69%)
CIE-LABlab(29.03, 9.16, -6.78)
CIE-LCHlch(29.03, 11.39, 323.51°)
OKLaboklab(39.17% 0.025 -0.0182)
OKLCHoklch(39.17% 0.031 324)
XYZxyz(6.3864, 5.8511, 8.1886)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E404F #414F40
analogous
#46404F #4E404F #4F4048
triadic
#4E404F #4F4E40 #404F4E
tetradic
#4E404F #4F4640 #414F40 #40484F
square
#4E404F #4F4640 #414F40 #40484F
split-complementary
#4E404F #484F40 #404F46
monochromatic
#110E11 #2D252D #4E404F #6F5B71 #907892

Accessibility & contrast

On white

9.68
#4E404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E404F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E404F#FFFFFF#000000##FFFFFF
##4E404F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4350
Deuteranopia (green-blind)
#42454E
Tritanopia (blue-blind)
#4F4145
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e404f;
/* rgb */ color: rgb(78, 64, 79);
/* oklch */ color: oklch(39.2% 0.031 324.0);
Tailwind
colors: {
  custom: {
    50: '#7f7480',
    500: '#4e404f',
    950: '#000000',
  },
}
SCSS
$custom: #4e404f;
$custom-light: #7f7480;
$custom-dark: #000000;
JSON
{
  "hex": "#4e404f",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 296,
    "s": 10.49,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.03092,
    "h": 324
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#4E404F
secondary
#6E7E6D
accent
#B37479
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E404F

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

Preview Lab → · Contrast checker → · Palette generator →

#4E404F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva