#4E4157#4E4157

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

Color values

HEX#4E4157
RGBrgb(78, 65, 87)
HSLhsl(275, 14%, 30%)
HSVhsv(275, 25%, 34%)
CMYKcmyk(10.3%, 25.3%, 0%, 65.9%)
CIE-LABlab(29.63, 10.38, -11.05)
CIE-LCHlch(29.63, 15.16, 313.20°)
OKLaboklab(39.74% 0.0263 -0.03)
OKLCHoklch(39.74% 0.04 311.2)
XYZxyz(6.7522, 6.0885, 9.8345)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4157 #4A5741
analogous
#434157 #4E4157 #574155
triadic
#4E4157 #574E41 #41574E
tetradic
#4E4157 #574341 #4A5741 #415557
square
#4E4157 #574341 #4A5741 #415557
split-complementary
#4E4157 #555741 #415743
monochromatic
#100D12 #2F2734 #4E4157 #6D5B7A #8C789A

Accessibility & contrast

On white

9.47
#4E4157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4157
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4157#FFFFFF#000000##FFFFFF
##4E41571.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4157;
/* rgb */ color: rgb(78, 65, 87);
/* oklch */ color: oklch(39.7% 0.040 311.2);
Tailwind
colors: {
  custom: {
    50: '#7f7586',
    500: '#4e4157',
    950: '#000000',
  },
}
SCSS
$custom: #4e4157;
$custom-light: #7f7586;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4157",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 275.455,
    "s": 14.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.03993,
    "h": 311.2
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#4E4157
secondary
#78866E
accent
#B7718D
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4157

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

Preview Lab → · Contrast checker → · Palette generator →

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