#4E4154#4E4154

#4E4154 is a dark, muted purple. Relative luminance 0.060; OKLCH L 39.6% C 0.036 H 315.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4E4154
RGBrgb(78, 65, 84)
HSLhsl(281, 13%, 29%)
HSVhsv(281, 23%, 33%)
CMYKcmyk(7.1%, 22.6%, 0%, 67.1%)
CIE-LABlab(29.51, 9.66, -9.30)
CIE-LCHlch(29.51, 13.41, 316.11°)
OKLaboklab(39.61% 0.0252 -0.0251)
OKLCHoklch(39.61% 0.036 315.1)
XYZxyz(6.6322, 6.0405, 9.2023)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4154 #475441
analogous
#454154 #4E4154 #544151
triadic
#4E4154 #544E41 #41544E
tetradic
#4E4154 #544541 #475441 #415154
square
#4E4154 #544541 #475441 #415154
split-complementary
#4E4154 #515441 #415445
monochromatic
#100D11 #2E2631 #4E4154 #6E5C77 #8D7897

Accessibility & contrast

On white

9.51
#4E4154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4154
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4154#FFFFFF#000000##FFFFFF
##4E41541.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#414653
Tritanopia (blue-blind)
#4E4347
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4154;
/* rgb */ color: rgb(78, 65, 84);
/* oklch */ color: oklch(39.6% 0.036 315.1);
Tailwind
colors: {
  custom: {
    50: '#7f7584',
    500: '#4e4154',
    950: '#000000',
  },
}
SCSS
$custom: #4e4154;
$custom-light: #7f7584;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4154",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 84
  },
  "hsl": {
    "h": 281.053,
    "s": 12.752,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.0356,
    "h": 315.1
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#4E4154
secondary
#74836E
accent
#B67287
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E4154

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

Preview Lab → · Contrast checker → · Palette generator →

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