#4E4058#4E4058

#4E4058 is a dark, muted violet. Relative luminance 0.060; OKLCH L 39.6% C 0.043 H 310.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4E4058
RGBrgb(78, 64, 88)
HSLhsl(275, 16%, 30%)
HSVhsv(275, 27%, 35%)
CMYKcmyk(11.4%, 27.3%, 0%, 65.5%)
CIE-LABlab(29.39, 11.27, -12.07)
CIE-LCHlch(29.39, 16.52, 313.03°)
OKLaboklab(39.57% 0.0284 -0.0329)
OKLCHoklch(39.57% 0.043 310.8)
XYZxyz(6.7364, 5.9911, 10.0322)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4058 #4A5840
analogous
#424058 #4E4058 #584056
triadic
#4E4058 #584E40 #40584E
tetradic
#4E4058 #584240 #4A5840 #405658
square
#4E4058 #584240 #4A5840 #405658
split-complementary
#4E4058 #565840 #405842
monochromatic
#100D12 #2F2635 #4E4058 #6D5A7B #8C779C

Accessibility & contrast

On white

9.55
#4E4058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E4058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4058
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4058#FFFFFF#000000##FFFFFF
##4E40581.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4058;
/* rgb */ color: rgb(78, 64, 88);
/* oklch */ color: oklch(39.6% 0.043 310.8);
Tailwind
colors: {
  custom: {
    50: '#7f7587',
    500: '#4e4058',
    950: '#000000',
  },
}
SCSS
$custom: #4e4058;
$custom-light: #7f7587;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4058",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 275,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.04346,
    "h": 310.8
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#4E4058
secondary
#78876C
accent
#B96F8E
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4058

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

Preview Lab → · Contrast checker → · Palette generator →

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