#4E4855#4E4855

#4E4855 is a dark, muted violet. Relative luminance 0.069; OKLCH L 41.2% C 0.023 H 306.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4855
RGBrgb(78, 72, 85)
HSLhsl(268, 8%, 31%)
HSVhsv(268, 15%, 33%)
CMYKcmyk(8.2%, 15.3%, 0%, 66.7%)
CIE-LABlab(31.60, 5.38, -6.80)
CIE-LCHlch(31.60, 8.67, 308.38°)
OKLaboklab(41.24% 0.0134 -0.0183)
OKLCHoklch(41.24% 0.023 306.2)
XYZxyz(7.0986, 6.9103, 9.5524)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4855 #4F5548
analogous
#484855 #4E4855 #544855
triadic
#4E4855 #554E48 #48554E
tetradic
#4E4855 #554848 #4F5548 #485554
square
#4E4855 #554848 #4F5548 #485554
split-complementary
#4E4855 #555448 #485548
monochromatic
#111013 #302C34 #4E4855 #6C6476 #8B8295

Accessibility & contrast

On white

8.82
#4E4855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E4855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4855
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4855#FFFFFF#000000##FFFFFF
##4E48551.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A56
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#4D4A4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4855;
/* rgb */ color: rgb(78, 72, 85);
/* oklch */ color: oklch(41.2% 0.023 306.2);
Tailwind
colors: {
  custom: {
    50: '#7f7b84',
    500: '#4e4855',
    950: '#000000',
  },
}
SCSS
$custom: #4e4855;
$custom-light: #7f7b84;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4855",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 85
  },
  "hsl": {
    "h": 267.692,
    "s": 8.28,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.02267,
    "h": 306.2
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#4E4855
secondary
#7D8475
accent
#B17696
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C

Preview Lab

Preview with #4E4855

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

Preview Lab → · Contrast checker → · Palette generator →

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