#4E4156#4E4156

#4E4156 is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.7% C 0.038 H 312.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4E4156
RGBrgb(78, 65, 86)
HSLhsl(277, 14%, 30%)
HSVhsv(277, 24%, 34%)
CMYKcmyk(9.3%, 24.4%, 0%, 66.3%)
CIE-LABlab(29.59, 10.14, -10.47)
CIE-LCHlch(29.59, 14.57, 314.08°)
OKLaboklab(39.7% 0.026 -0.0284)
OKLCHoklch(39.7% 0.038 312.4)
XYZxyz(6.7116, 6.0723, 9.6208)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4156 #495641
analogous
#444156 #4E4156 #564154
triadic
#4E4156 #564E41 #41564E
tetradic
#4E4156 #564441 #495641 #415456
square
#4E4156 #564441 #495641 #415456
split-complementary
#4E4156 #545641 #415644
monochromatic
#100D11 #2E2733 #4E4156 #6E5B79 #8D7899

Accessibility & contrast

On white

9.48
#4E4156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E4156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4156
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4156#FFFFFF#000000##FFFFFF
##4E41561.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#414655
Tritanopia (blue-blind)
#4D4448
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4156;
/* rgb */ color: rgb(78, 65, 86);
/* oklch */ color: oklch(39.7% 0.038 312.4);
Tailwind
colors: {
  custom: {
    50: '#7f7585',
    500: '#4e4156',
    950: '#000000',
  },
}
SCSS
$custom: #4e4156;
$custom-light: #7f7585;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4156",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 86
  },
  "hsl": {
    "h": 277.143,
    "s": 13.907,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.03847,
    "h": 312.4
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#4E4156
secondary
#77856E
accent
#B7718C
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4156

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

Preview Lab → · Contrast checker → · Palette generator →

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