#4E4052#4E4052

#4E4052 is a dark, muted purple. Relative luminance 0.059; OKLCH L 39.3% C 0.035 H 318.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4E4052
RGBrgb(78, 64, 82)
HSLhsl(287, 12%, 29%)
HSVhsv(287, 22%, 32%)
CMYKcmyk(4.9%, 22%, 0%, 67.8%)
CIE-LABlab(29.15, 9.85, -8.55)
CIE-LCHlch(29.15, 13.04, 319.02°)
OKLaboklab(39.3% 0.0262 -0.0231)
OKLCHoklch(39.3% 0.035 318.7)
XYZxyz(6.4981, 5.8958, 8.7767)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4052 #445240
analogous
#454052 #4E4052 #52404D
triadic
#4E4052 #524E40 #40524E
tetradic
#4E4052 #524540 #445240 #404D52
square
#4E4052 #524540 #445240 #404D52
split-complementary
#4E4052 #4D5240 #405245
monochromatic
#100D11 #2D2530 #4E4052 #6F5B74 #8E7795

Accessibility & contrast

On white

9.64
#4E4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4052
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4052#FFFFFF#000000##FFFFFF
##4E40521.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#414551
Tritanopia (blue-blind)
#4E4246
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e4052;
/* rgb */ color: rgb(78, 64, 82);
/* oklch */ color: oklch(39.3% 0.035 318.7);
Tailwind
colors: {
  custom: {
    50: '#7f7482',
    500: '#4e4052',
    950: '#000000',
  },
}
SCSS
$custom: #4e4052;
$custom-light: #7f7482;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4052",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 286.667,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.03491,
    "h": 318.7
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#4E4052
secondary
#71816D
accent
#B57381
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E4052

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

Preview Lab → · Contrast checker → · Palette generator →

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