#4E4158#4E4158

#4E4158 is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.8% C 0.041 H 310.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4E4158
RGBrgb(78, 65, 88)
HSLhsl(274, 15%, 30%)
HSVhsv(274, 26%, 35%)
CMYKcmyk(11.4%, 26.1%, 0%, 65.5%)
CIE-LABlab(29.68, 10.62, -11.64)
CIE-LCHlch(29.68, 15.76, 312.39°)
OKLaboklab(39.79% 0.0267 -0.0317)
OKLCHoklch(39.79% 0.041 310.1)
XYZxyz(6.7933, 6.1049, 10.0511)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4158 #4B5841
analogous
#424158 #4E4158 #584157
triadic
#4E4158 #584E41 #41584E
tetradic
#4E4158 #584241 #4B5841 #415758
square
#4E4158 #584241 #4B5841 #415758
split-complementary
#4E4158 #575841 #415842
monochromatic
#100D12 #2F2735 #4E4158 #6D5B7B #8C789B

Accessibility & contrast

On white

9.46
#4E4158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E4158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4158
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4158#FFFFFF#000000##FFFFFF
##4E41581.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#404657
Tritanopia (blue-blind)
#4D4449
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4158;
/* rgb */ color: rgb(78, 65, 88);
/* oklch */ color: oklch(39.8% 0.041 310.1);
Tailwind
colors: {
  custom: {
    50: '#7f7587',
    500: '#4e4158',
    950: '#000000',
  },
}
SCSS
$custom: #4e4158;
$custom-light: #7f7587;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4158",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 273.913,
    "s": 15.033,
    "l": 30
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.0414,
    "h": 310.1
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#4E4158
secondary
#79876E
accent
#B8708F
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4158

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

Preview Lab → · Contrast checker → · Palette generator →

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