#4E4857#4E4857

#4E4857 is a dark, muted violet. Relative luminance 0.069; OKLCH L 41.3% C 0.026 H 303.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E4857
RGBrgb(78, 72, 87)
HSLhsl(264, 9%, 31%)
HSVhsv(264, 17%, 34%)
CMYKcmyk(10.3%, 17.2%, 0%, 65.9%)
CIE-LABlab(31.68, 5.86, -7.97)
CIE-LCHlch(31.68, 9.89, 306.33°)
OKLaboklab(41.32% 0.0142 -0.0215)
OKLCHoklch(41.32% 0.026 303.4)
XYZxyz(7.1792, 6.9426, 9.9768)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4857 #515748
analogous
#484957 #4E4857 #554857
triadic
#4E4857 #574E48 #48574E
tetradic
#4E4857 #574849 #515748 #485755
square
#4E4857 #574849 #515748 #485755
split-complementary
#4E4857 #575548 #495748
monochromatic
#121114 #302C36 #4E4857 #6C6478 #8B8297

Accessibility & contrast

On white

8.79
#4E4857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4857
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4857#FFFFFF#000000##FFFFFF
##4E48571.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#464B57
Tritanopia (blue-blind)
#4D4A4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4857;
/* rgb */ color: rgb(78, 72, 87);
/* oklch */ color: oklch(41.3% 0.026 303.4);
Tailwind
colors: {
  custom: {
    50: '#7f7b86',
    500: '#4e4857',
    950: '#000000',
  },
}
SCSS
$custom: #4e4857;
$custom-light: #7f7b86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4857",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 87
  },
  "hsl": {
    "h": 264,
    "s": 9.434,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.02578,
    "h": 303.4
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#4E4857
secondary
#7F8675
accent
#B2759A
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4857

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

Preview Lab → · Contrast checker → · Palette generator →

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