#4E4C52#4E4C52

#4E4C52 is a dark, near-neutral grey. Relative luminance 0.074; OKLCH L 42.1% C 0.010 H 301.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4C52
RGBrgb(78, 76, 82)
HSLhsl(260, 4%, 31%)
HSVhsv(260, 7%, 32%)
CMYKcmyk(4.9%, 7.3%, 0%, 67.8%)
CIE-LABlab(32.70, 2.14, -3.25)
CIE-LCHlch(32.70, 3.89, 303.41°)
OKLaboklab(42.06% 0.0052 -0.0087)
OKLCHoklch(42.06% 0.01 301.1)
XYZxyz(7.2490, 7.3978, 9.0270)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C52 #50524C
analogous
#4C4D52 #4E4C52 #514C52
triadic
#4E4C52 #524E4C #4C524E
tetradic
#4E4C52 #524C4D #50524C #4C5251
square
#4E4C52 #524C4D #50524C #4C5251
split-complementary
#4E4C52 #52514C #4D524C
monochromatic
#121112 #302F32 #4E4C52 #6C6972 #8B8891

Accessibility & contrast

On white

8.47
#4E4C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E4C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C52
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C52#FFFFFF#000000##FFFFFF
##4E4C521.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#4D4D4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4c52;
/* rgb */ color: rgb(78, 76, 82);
/* oklch */ color: oklch(42.1% 0.010 301.1);
Tailwind
colors: {
  custom: {
    50: '#7f7e82',
    500: '#4e4c52',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c52;
$custom-light: #7f7e82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c52",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 82
  },
  "hsl": {
    "h": 260,
    "s": 3.797,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.01013,
    "h": 301.1
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#4E4C52
secondary
#7E807A
accent
#AD7B9C
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E4C52

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

Preview Lab → · Contrast checker → · Palette generator →

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