#4E4254#4E4254

#4E4254 is a dark, muted purple. Relative luminance 0.062; OKLCH L 39.8% C 0.034 H 314.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4254
RGBrgb(78, 66, 84)
HSLhsl(280, 12%, 29%)
HSVhsv(280, 21%, 33%)
CMYKcmyk(7.1%, 21.4%, 0%, 67.1%)
CIE-LABlab(29.80, 9.02, -8.86)
CIE-LCHlch(29.80, 12.64, 315.50°)
OKLaboklab(39.83% 0.0235 -0.0239)
OKLCHoklch(39.83% 0.034 314.4)
XYZxyz(6.6901, 6.1563, 9.2216)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4254 #485442
analogous
#454254 #4E4254 #544251
triadic
#4E4254 #544E42 #42544E
tetradic
#4E4254 #544542 #485442 #425154
square
#4E4254 #544542 #485442 #425154
split-complementary
#4E4254 #515442 #425445
monochromatic
#100D11 #2E2732 #4E4254 #6E5D76 #8D7A96

Accessibility & contrast

On white

9.41
#4E4254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4254
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4254#FFFFFF#000000##FFFFFF
##4E42541.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404555
Deuteranopia (green-blind)
#424753
Tritanopia (blue-blind)
#4E4448
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4254;
/* rgb */ color: rgb(78, 66, 84);
/* oklch */ color: oklch(39.8% 0.034 314.4);
Tailwind
colors: {
  custom: {
    50: '#7f7684',
    500: '#4e4254',
    950: '#000000',
  },
}
SCSS
$custom: #4e4254;
$custom-light: #7f7684;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4254",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 280,
    "s": 12,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.0335,
    "h": 314.4
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#4E4254
secondary
#76836F
accent
#B57389
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #4E4254

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

Preview Lab → · Contrast checker → · Palette generator →

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