#4E4754#4E4754

#4E4754 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.0% C 0.023 H 309.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4E4754
RGBrgb(78, 71, 84)
HSLhsl(272, 8%, 30%)
HSVhsv(272, 15%, 33%)
CMYKcmyk(7.1%, 15.5%, 0%, 67.1%)
CIE-LABlab(31.27, 5.79, -6.65)
CIE-LCHlch(31.27, 8.82, 311.02°)
OKLaboklab(40.97% 0.0147 -0.0179)
OKLCHoklch(40.97% 0.023 309.4)
XYZxyz(6.9951, 6.7663, 9.3233)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4754 #4D5447
analogous
#474754 #4E4754 #544753
triadic
#4E4754 #544E47 #47544E
tetradic
#4E4754 #544747 #4D5447 #475354
square
#4E4754 #544747 #4D5447 #475354
split-complementary
#4E4754 #535447 #475447
monochromatic
#100F12 #2F2B33 #4E4754 #6D6375 #8B8194

Accessibility & contrast

On white

8.92
#4E4754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E4754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4754
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4754#FFFFFF#000000##FFFFFF
##4E47541.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#4D494B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4754;
/* rgb */ color: rgb(78, 71, 84);
/* oklch */ color: oklch(41.0% 0.023 309.4);
Tailwind
colors: {
  custom: {
    50: '#7f7a84',
    500: '#4e4754',
    950: '#000000',
  },
}
SCSS
$custom: #4e4754;
$custom-light: #7f7a84;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4754",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 84
  },
  "hsl": {
    "h": 272.308,
    "s": 8.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.02317,
    "h": 309.4
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#4E4754
secondary
#7B8374
accent
#B17692
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E4754

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

Preview Lab → · Contrast checker → · Palette generator →

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