#4C404C#4C404C

#4C404C is a dark, muted purple. Relative luminance 0.057; OKLCH L 38.8% C 0.025 H 326.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4C404C
RGBrgb(76, 64, 76)
HSLhsl(300, 9%, 27%)
HSVhsv(300, 16%, 30%)
CMYKcmyk(0%, 15.8%, 0%, 70.2%)
CIE-LABlab(28.71, 7.68, -5.33)
CIE-LCHlch(28.71, 9.35, 325.22°)
OKLaboklab(38.84% 0.0212 -0.0142)
OKLCHoklch(38.84% 0.025 326.1)
XYZxyz(6.1182, 5.7252, 7.6188)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C404C #404C40
analogous
#46404C #4C404C #4C4046
triadic
#4C404C #4C4C40 #404C4C
tetradic
#4C404C #4C4640 #404C40 #40464C
square
#4C404C #4C4640 #404C40 #40464C
split-complementary
#4C404C #464C40 #404C46
monochromatic
#110E11 #2B242B #4C404C #6D5C6D #8E798E

Accessibility & contrast

On white

9.79
#4C404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4C404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C404C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C404C#FFFFFF#000000##FFFFFF
##4C404C1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#42444C
Tritanopia (blue-blind)
#4D4144
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c404c;
/* rgb */ color: rgb(76, 64, 76);
/* oklch */ color: oklch(38.8% 0.025 326.1);
Tailwind
colors: {
  custom: {
    50: '#7e747e',
    500: '#4c404c',
    950: '#000000',
  },
}
SCSS
$custom: #4c404c;
$custom-light: #7e747e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c404c",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 300,
    "s": 8.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.02549,
    "h": 326.1
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#4C404C
secondary
#6D7B6D
accent
#B27676
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#090809
muted
#7B7B7B

Preview Lab

Preview with #4C404C

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

Preview Lab → · Contrast checker → · Palette generator →

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