#4E4758#4E4758

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

Color values

HEX#4E4758
RGBrgb(78, 71, 88)
HSLhsl(265, 11%, 31%)
HSVhsv(265, 19%, 35%)
CMYKcmyk(11.4%, 19.3%, 0%, 65.5%)
CIE-LABlab(31.42, 6.74, -8.99)
CIE-LCHlch(31.42, 11.24, 306.85°)
OKLaboklab(41.13% 0.0163 -0.0243)
OKLCHoklch(41.13% 0.029 303.8)
XYZxyz(7.1562, 6.8308, 10.1721)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4758 #515847
analogous
#474858 #4E4758 #564758
triadic
#4E4758 #584E47 #47584E
tetradic
#4E4758 #584748 #515847 #475856
square
#4E4758 #584748 #515847 #475856
split-complementary
#4E4758 #585647 #485847
monochromatic
#121014 #302C36 #4E4758 #6C627A #8B8099

Accessibility & contrast

On white

8.87
#4E4758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4758
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4758#FFFFFF#000000##FFFFFF
##4E47581.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#454A57
Tritanopia (blue-blind)
#4D494D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4758;
/* rgb */ color: rgb(78, 71, 88);
/* oklch */ color: oklch(41.1% 0.029 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f7a87',
    500: '#4e4758',
    950: '#000000',
  },
}
SCSS
$custom: #4e4758;
$custom-light: #7f7a87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4758",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 88
  },
  "hsl": {
    "h": 264.706,
    "s": 10.692,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.02931,
    "h": 303.8
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#4E4758
secondary
#7F8774
accent
#B47499
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4758

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

Preview Lab → · Contrast checker → · Palette generator →

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