#4E4257#4E4257

#4E4257 is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.0% C 0.038 H 310.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4E4257
RGBrgb(78, 66, 87)
HSLhsl(274, 14%, 30%)
HSVhsv(274, 24%, 34%)
CMYKcmyk(10.3%, 24.1%, 0%, 65.9%)
CIE-LABlab(29.92, 9.73, -10.62)
CIE-LCHlch(29.92, 14.40, 312.50°)
OKLaboklab(39.96% 0.0246 -0.0288)
OKLCHoklch(39.96% 0.038 310.5)
XYZxyz(6.8101, 6.2043, 9.8538)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4257 #4B5742
analogous
#444257 #4E4257 #574255
triadic
#4E4257 #574E42 #42574E
tetradic
#4E4257 #574442 #4B5742 #425557
square
#4E4257 #574442 #4B5742 #425557
split-complementary
#4E4257 #555742 #425744
monochromatic
#100D11 #2F2834 #4E4257 #6D5C7A #8C7A9A

Accessibility & contrast

On white

9.37
#4E4257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E4257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4257
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4257#FFFFFF#000000##FFFFFF
##4E42571.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#414756
Tritanopia (blue-blind)
#4D4549
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4257;
/* rgb */ color: rgb(78, 66, 87);
/* oklch */ color: oklch(40.0% 0.038 310.5);
Tailwind
colors: {
  custom: {
    50: '#7f7686',
    500: '#4e4257',
    950: '#000000',
  },
}
SCSS
$custom: #4e4257;
$custom-light: #7f7686;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4257",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 274.286,
    "s": 13.725,
    "l": 30
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.03788,
    "h": 310.5
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#4E4257
secondary
#79866F
accent
#B7718F
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4257

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

Preview Lab → · Contrast checker → · Palette generator →

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