#4E4A5B#4E4A5B

#4E4A5B is a dark, muted violet. Relative luminance 0.073; OKLCH L 41.9% C 0.028 H 295.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4E4A5B
RGBrgb(78, 74, 91)
HSLhsl(254, 10%, 32%)
HSVhsv(254, 19%, 36%)
CMYKcmyk(14.3%, 18.7%, 0%, 64.3%)
CIE-LABlab(32.42, 5.55, -9.40)
CIE-LCHlch(32.42, 10.91, 300.56°)
OKLaboklab(41.95% 0.0124 -0.0255)
OKLCHoklch(41.95% 0.028 295.9)
XYZxyz(7.4786, 7.2726, 10.9052)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A5B #575B4A
analogous
#4A4F5B #4E4A5B #574A5B
triadic
#4E4A5B #5B4E4A #4A5B4E
tetradic
#4E4A5B #5B4A4F #575B4A #4A5B57
square
#4E4A5B #5B4A4F #575B4A #4A5B57
split-complementary
#4E4A5B #5B574A #4F5B4A
monochromatic
#141317 #312F39 #4E4A5B #6B657D #8A849B

Accessibility & contrast

On white

8.56
#4E4A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A5B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A5B#FFFFFF#000000##FFFFFF
##4E4A5B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5C
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#4C4C50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4a5b;
/* rgb */ color: rgb(78, 74, 91);
/* oklch */ color: oklch(41.9% 0.028 295.9);
Tailwind
colors: {
  custom: {
    50: '#7f7c89',
    500: '#4e4a5b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a5b;
$custom-light: #7f7c89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a5b",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 91
  },
  "hsl": {
    "h": 254.118,
    "s": 10.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.02835,
    "h": 295.9
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#4E4A5B
secondary
#858A77
accent
#B375A4
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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