#4E4252#4E4252

#4E4252 is a dark, muted purple. Relative luminance 0.061; OKLCH L 39.7% C 0.031 H 317.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4252
RGBrgb(78, 66, 82)
HSLhsl(285, 11%, 29%)
HSVhsv(285, 20%, 32%)
CMYKcmyk(4.9%, 19.5%, 0%, 67.8%)
CIE-LABlab(29.73, 8.55, -7.68)
CIE-LCHlch(29.73, 11.49, 318.06°)
OKLaboklab(39.75% 0.0227 -0.0207)
OKLCHoklch(39.75% 0.031 317.6)
XYZxyz(6.6129, 6.1254, 8.8150)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4252 #465242
analogous
#464252 #4E4252 #52424E
triadic
#4E4252 #524E42 #42524E
tetradic
#4E4252 #524642 #465242 #424E52
square
#4E4252 #524642 #465242 #424E52
split-complementary
#4E4252 #4E5242 #425246
monochromatic
#100E11 #2E2730 #4E4252 #6E5D74 #8E7A94

Accessibility & contrast

On white

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

On black

2.23
#4E4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E4252#FFFFFF#000000##FFFFFF
##4E42521.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#434651
Tritanopia (blue-blind)
#4E4447
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4252;
/* rgb */ color: rgb(78, 66, 82);
/* oklch */ color: oklch(39.7% 0.031 317.6);
Tailwind
colors: {
  custom: {
    50: '#7f7682',
    500: '#4e4252',
    950: '#000000',
  },
}
SCSS
$custom: #4e4252;
$custom-light: #7f7682;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4252",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 285,
    "s": 10.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.03068,
    "h": 317.6
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#4E4252
secondary
#73816F
accent
#B47484
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E4252

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

Preview Lab → · Contrast checker → · Palette generator →

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