#4E475F#4E475F

#4E475F is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.4% C 0.040 H 298.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E475F
RGBrgb(78, 71, 95)
HSLhsl(258, 14%, 33%)
HSVhsv(258, 25%, 37%)
CMYKcmyk(17.9%, 25.3%, 0%, 62.7%)
CIE-LABlab(31.70, 8.48, -13.04)
CIE-LCHlch(31.70, 15.56, 303.04°)
OKLaboklab(41.44% 0.019 -0.0357)
OKLCHoklch(41.44% 0.04 298)
XYZxyz(7.4602, 6.9524, 11.7732)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E475F #585F47
analogous
#474C5F #4E475F #5A475F
triadic
#4E475F #5F4E47 #475F4E
tetradic
#4E475F #5F474C #585F47 #475F5A
square
#4E475F #5F474C #585F47 #475F5A
split-complementary
#4E475F #5F5A47 #4C5F47
monochromatic
#141319 #312D3C #4E475F #6B6182 #8A80A0

Accessibility & contrast

On white

8.79
#4E475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E475F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E475F#FFFFFF#000000##FFFFFF
##4E475F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#434A5E
Tritanopia (blue-blind)
#4B4B4F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e475f;
/* rgb */ color: rgb(78, 71, 95);
/* oklch */ color: oklch(41.4% 0.040 298.0);
Tailwind
colors: {
  custom: {
    50: '#807a8c',
    500: '#4e475f',
    950: '#000000',
  },
}
SCSS
$custom: #4e475f;
$custom-light: #807a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e475f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 257.5,
    "s": 14.458,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41444,
    "c": 0.04038,
    "h": 298
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#4E475F
secondary
#868E74
accent
#B771A3
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E475F

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

Preview Lab → · Contrast checker → · Palette generator →

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