#4E4858#4E4858

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

Color values

HEX#4E4858
RGBrgb(78, 72, 88)
HSLhsl(263, 10%, 31%)
HSVhsv(263, 18%, 35%)
CMYKcmyk(11.4%, 18.2%, 0%, 65.5%)
CIE-LABlab(31.71, 6.10, -8.55)
CIE-LCHlch(31.71, 10.50, 305.50°)
OKLaboklab(41.36% 0.0146 -0.0231)
OKLCHoklch(41.36% 0.027 302.3)
XYZxyz(7.2204, 6.9590, 10.1935)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4858 #525848
analogous
#484A58 #4E4858 #564858
triadic
#4E4858 #584E48 #48584E
tetradic
#4E4858 #58484A #525848 #485856
square
#4E4858 #58484A #525848 #485856
split-complementary
#4E4858 #585648 #4A5848
monochromatic
#121115 #302C36 #4E4858 #6C647A #8A8299

Accessibility & contrast

On white

8.78
#4E4858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4858
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4858#FFFFFF#000000##FFFFFF
##4E48581.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#464B57
Tritanopia (blue-blind)
#4C4A4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4858;
/* rgb */ color: rgb(78, 72, 88);
/* oklch */ color: oklch(41.4% 0.027 302.3);
Tailwind
colors: {
  custom: {
    50: '#7f7b87',
    500: '#4e4858',
    950: '#000000',
  },
}
SCSS
$custom: #4e4858;
$custom-light: #7f7b87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4858",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 88
  },
  "hsl": {
    "h": 262.5,
    "s": 10,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.02735,
    "h": 302.3
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#4E4858
secondary
#808775
accent
#B3759C
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4858

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

Preview Lab → · Contrast checker → · Palette generator →

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