#4E4860#4E4860

#4E4860 is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.7% C 0.040 H 296.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4860
RGBrgb(78, 72, 96)
HSLhsl(255, 14%, 33%)
HSVhsv(255, 25%, 38%)
CMYKcmyk(18.7%, 25%, 0%, 62.4%)
CIE-LABlab(32.03, 8.09, -13.17)
CIE-LCHlch(32.03, 15.46, 301.57°)
OKLaboklab(41.72% 0.0176 -0.036)
OKLCHoklch(41.72% 0.04 296.1)
XYZxyz(7.5701, 7.0989, 12.0355)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4860 #5A6048
analogous
#484E60 #4E4860 #5A4860
triadic
#4E4860 #604E48 #48604E
tetradic
#4E4860 #60484E #5A6048 #48605A
square
#4E4860 #60484E #5A6048 #48605A
split-complementary
#4E4860 #605A48 #4E6048
monochromatic
#15141A #322E3D #4E4860 #6A6283 #8982A1

Accessibility & contrast

On white

8.68
#4E4860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4860
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4860#FFFFFF#000000##FFFFFF
##4E48601.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B61
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#4B4C50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4860;
/* rgb */ color: rgb(78, 72, 96);
/* oklch */ color: oklch(41.7% 0.040 296.1);
Tailwind
colors: {
  custom: {
    50: '#807b8d',
    500: '#4e4860',
    950: '#000000',
  },
}
SCSS
$custom: #4e4860;
$custom-light: #807b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4860",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 96
  },
  "hsl": {
    "h": 255,
    "s": 14.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.04011,
    "h": 296.1
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#4E4860
secondary
#888E75
accent
#B771A5
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4860

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

Preview Lab → · Contrast checker → · Palette generator →

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