#4E4159#4E4159

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

Color values

HEX#4E4159
RGBrgb(78, 65, 89)
HSLhsl(273, 16%, 30%)
HSVhsv(273, 27%, 35%)
CMYKcmyk(12.4%, 27%, 0%, 65.1%)
CIE-LABlab(29.72, 10.87, -12.22)
CIE-LCHlch(29.72, 16.35, 311.64°)
OKLaboklab(39.83% 0.027 -0.0333)
OKLCHoklch(39.83% 0.043 309.1)
XYZxyz(6.8350, 6.1216, 10.2708)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4159 #4C5941
analogous
#424159 #4E4159 #594158
triadic
#4E4159 #594E41 #41594E
tetradic
#4E4159 #594241 #4C5941 #415859
square
#4E4159 #594241 #4C5941 #415859
split-complementary
#4E4159 #585941 #415942
monochromatic
#100D12 #2F2736 #4E4159 #6D5B7C #8C789C

Accessibility & contrast

On white

9.44
#4E4159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4159
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4159#FFFFFF#000000##FFFFFF
##4E41591.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4159;
/* rgb */ color: rgb(78, 65, 89);
/* oklch */ color: oklch(39.8% 0.043 309.1);
Tailwind
colors: {
  custom: {
    50: '#7f7588',
    500: '#4e4159',
    950: '#000000',
  },
}
SCSS
$custom: #4e4159;
$custom-light: #7f7588;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4159",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 89
  },
  "hsl": {
    "h": 272.5,
    "s": 15.584,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.04289,
    "h": 309.1
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#4E4159
secondary
#7A886D
accent
#B86F91
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4159

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

Preview Lab → · Contrast checker → · Palette generator →

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