#4E4056#4E4056

#4E4056 is a dark, muted violet. Relative luminance 0.060; OKLCH L 39.5% C 0.041 H 313.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4056
RGBrgb(78, 64, 86)
HSLhsl(278, 15%, 29%)
HSVhsv(278, 26%, 34%)
CMYKcmyk(9.3%, 25.6%, 0%, 66.3%)
CIE-LABlab(29.31, 10.79, -10.90)
CIE-LCHlch(29.31, 15.34, 314.69°)
OKLaboklab(39.48% 0.0277 -0.0296)
OKLCHoklch(39.48% 0.041 313.1)
XYZxyz(6.6547, 5.9585, 9.6018)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4056 #485640
analogous
#434056 #4E4056 #564053
triadic
#4E4056 #564E40 #40564E
tetradic
#4E4056 #564340 #485640 #405356
square
#4E4056 #564340 #485640 #405356
split-complementary
#4E4056 #535640 #405643
monochromatic
#100D12 #2E2633 #4E4056 #6E5A79 #8D779A

Accessibility & contrast

On white

9.58
#4E4056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E4056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4056
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4056#FFFFFF#000000##FFFFFF
##4E40561.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4457
Deuteranopia (green-blind)
#404555
Tritanopia (blue-blind)
#4D4348
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e4056;
/* rgb */ color: rgb(78, 64, 86);
/* oklch */ color: oklch(39.5% 0.041 313.1);
Tailwind
colors: {
  custom: {
    50: '#7f7585',
    500: '#4e4056',
    950: '#000000',
  },
}
SCSS
$custom: #4e4056;
$custom-light: #7f7585;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4056",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 86
  },
  "hsl": {
    "h": 278.182,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.04055,
    "h": 313.1
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#4E4056
secondary
#76856C
accent
#B7708A
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4056

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

Preview Lab → · Contrast checker → · Palette generator →

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