#4E4658#4E4658

#4E4658 is a dark, muted violet. Relative luminance 0.067; OKLCH L 40.9% C 0.031 H 305.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4658
RGBrgb(78, 70, 88)
HSLhsl(267, 11%, 31%)
HSVhsv(267, 20%, 35%)
CMYKcmyk(11.4%, 20.5%, 0%, 65.5%)
CIE-LABlab(31.12, 7.39, -9.44)
CIE-LCHlch(31.12, 11.98, 308.04°)
OKLaboklab(40.91% 0.018 -0.0256)
OKLCHoklch(40.91% 0.031 305.2)
XYZxyz(7.0932, 6.7046, 10.1511)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4658 #505846
analogous
#464758 #4E4658 #574658
triadic
#4E4658 #584E46 #46584E
tetradic
#4E4658 #584647 #505846 #465857
square
#4E4658 #584647 #505846 #465857
split-complementary
#4E4658 #585746 #475846
monochromatic
#121014 #302B36 #4E4658 #6C617A #8B7F99

Accessibility & contrast

On white

8.97
#4E4658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E4658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4658
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4658#FFFFFF#000000##FFFFFF
##4E46581.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#4D484C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4658;
/* rgb */ color: rgb(78, 70, 88);
/* oklch */ color: oklch(40.9% 0.031 305.2);
Tailwind
colors: {
  custom: {
    50: '#7f7987',
    500: '#4e4658',
    950: '#000000',
  },
}
SCSS
$custom: #4e4658;
$custom-light: #7f7987;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4658",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 88
  },
  "hsl": {
    "h": 266.667,
    "s": 11.392,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.03129,
    "h": 305.2
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#4E4658
secondary
#7E8773
accent
#B47397
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4658

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

Preview Lab → · Contrast checker → · Palette generator →

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