#4E4856#4E4856

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

Color values

HEX#4E4856
RGBrgb(78, 72, 86)
HSLhsl(266, 9%, 31%)
HSVhsv(266, 16%, 34%)
CMYKcmyk(9.3%, 16.3%, 0%, 66.3%)
CIE-LABlab(31.64, 5.62, -7.38)
CIE-LCHlch(31.64, 9.28, 307.28°)
OKLaboklab(41.28% 0.0138 -0.0199)
OKLCHoklch(41.28% 0.024 304.8)
XYZxyz(7.1387, 6.9263, 9.7631)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4856 #505648
analogous
#484956 #4E4856 #554856
triadic
#4E4856 #564E48 #48564E
tetradic
#4E4856 #564849 #505648 #485655
square
#4E4856 #564849 #505648 #485655
split-complementary
#4E4856 #565548 #495648
monochromatic
#121013 #302C35 #4E4856 #6C6477 #8B8296

Accessibility & contrast

On white

8.80
#4E4856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4856
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4856#FFFFFF#000000##FFFFFF
##4E48561.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A57
Deuteranopia (green-blind)
#474A56
Tritanopia (blue-blind)
#4D4A4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4856;
/* rgb */ color: rgb(78, 72, 86);
/* oklch */ color: oklch(41.3% 0.024 304.8);
Tailwind
colors: {
  custom: {
    50: '#7f7b85',
    500: '#4e4856',
    950: '#000000',
  },
}
SCSS
$custom: #4e4856;
$custom-light: #7f7b85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4856",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 86
  },
  "hsl": {
    "h": 265.714,
    "s": 8.861,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.02422,
    "h": 304.8
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#4E4856
secondary
#7E8575
accent
#B27698
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4856

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

Preview Lab → · Contrast checker → · Palette generator →

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