#4E4757#4E4757

#4E4757 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.1% C 0.028 H 305.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E4757
RGBrgb(78, 71, 87)
HSLhsl(266, 10%, 31%)
HSVhsv(266, 18%, 34%)
CMYKcmyk(10.3%, 18.4%, 0%, 65.9%)
CIE-LABlab(31.38, 6.50, -8.41)
CIE-LCHlch(31.38, 10.63, 307.70°)
OKLaboklab(41.09% 0.0159 -0.0227)
OKLCHoklch(41.09% 0.028 305)
XYZxyz(7.1151, 6.8143, 9.9554)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4757 #505747
analogous
#474857 #4E4757 #564757
triadic
#4E4757 #574E47 #47574E
tetradic
#4E4757 #574748 #505747 #475756
square
#4E4757 #574748 #505747 #475756
split-complementary
#4E4757 #575647 #485747
monochromatic
#121014 #302B35 #4E4757 #6C6279 #8B8198

Accessibility & contrast

On white

8.89
#4E4757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4757
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4757#FFFFFF#000000##FFFFFF
##4E47571.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A58
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#4D494C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4757;
/* rgb */ color: rgb(78, 71, 87);
/* oklch */ color: oklch(41.1% 0.028 305.0);
Tailwind
colors: {
  custom: {
    50: '#7f7a86',
    500: '#4e4757',
    950: '#000000',
  },
}
SCSS
$custom: #4e4757;
$custom-light: #7f7a86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4757",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 87
  },
  "hsl": {
    "h": 266.25,
    "s": 10.127,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.02776,
    "h": 305
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#4E4757
secondary
#7E8674
accent
#B37598
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4757

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

Preview Lab → · Contrast checker → · Palette generator →

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