#4E4054#4E4054

#4E4054 is a dark, muted purple. Relative luminance 0.059; OKLCH L 39.4% C 0.038 H 315.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4E4054
RGBrgb(78, 64, 84)
HSLhsl(282, 14%, 29%)
HSVhsv(282, 24%, 33%)
CMYKcmyk(7.1%, 23.8%, 0%, 67.1%)
CIE-LABlab(29.23, 10.31, -9.73)
CIE-LCHlch(29.23, 14.18, 316.66°)
OKLaboklab(39.39% 0.027 -0.0263)
OKLCHoklch(39.39% 0.038 315.7)
XYZxyz(6.5753, 5.9267, 9.1834)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4054 #465440
analogous
#444054 #4E4054 #544050
triadic
#4E4054 #544E40 #40544E
tetradic
#4E4054 #544440 #465440 #405054
square
#4E4054 #544440 #465440 #405054
split-complementary
#4E4054 #505440 #405444
monochromatic
#100D11 #2E2631 #4E4054 #6E5A77 #8E7797

Accessibility & contrast

On white

9.61
#4E4054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E4054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4054
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4054#FFFFFF#000000##FFFFFF
##4E40541.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#404553
Tritanopia (blue-blind)
#4E4247
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e4054;
/* rgb */ color: rgb(78, 64, 84);
/* oklch */ color: oklch(39.4% 0.038 315.7);
Tailwind
colors: {
  custom: {
    50: '#7f7484',
    500: '#4e4054',
    950: '#000000',
  },
}
SCSS
$custom: #4e4054;
$custom-light: #7f7484;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4054",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 84
  },
  "hsl": {
    "h": 282,
    "s": 13.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.03769,
    "h": 315.7
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#4E4054
secondary
#73836D
accent
#B67186
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E4054

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

Preview Lab → · Contrast checker → · Palette generator →

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