#4E4662#4E4662

#4E4662 is a dark, muted violet. Relative luminance 0.069; OKLCH L 41.4% C 0.047 H 297.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4662
RGBrgb(78, 70, 98)
HSLhsl(257, 17%, 33%)
HSVhsv(257, 29%, 38%)
CMYKcmyk(20.4%, 28.6%, 0%, 61.6%)
CIE-LABlab(31.54, 9.91, -15.20)
CIE-LCHlch(31.54, 18.15, 303.09°)
OKLaboklab(41.36% 0.0217 -0.0417)
OKLCHoklch(41.36% 0.047 297.4)
XYZxyz(7.5362, 6.8818, 12.4842)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4662 #5A6246
analogous
#464C62 #4E4662 #5C4662
triadic
#4E4662 #624E46 #46624E
tetradic
#4E4662 #62464C #5A6246 #46625C
square
#4E4662 #62464C #5A6246 #46625C
split-complementary
#4E4662 #625C46 #4C6246
monochromatic
#15131B #322C3E #4E4662 #6A5F86 #897FA3

Accessibility & contrast

On white

8.84
#4E4662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4662
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4662#FFFFFF#000000##FFFFFF
##4E46621.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A63
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#4A4A50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4662;
/* rgb */ color: rgb(78, 70, 98);
/* oklch */ color: oklch(41.4% 0.047 297.4);
Tailwind
colors: {
  custom: {
    50: '#80798e',
    500: '#4e4662',
    950: '#000000',
  },
}
SCSS
$custom: #4e4662;
$custom-light: #80798e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4662",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 98
  },
  "hsl": {
    "h": 257.143,
    "s": 16.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41361,
    "c": 0.04703,
    "h": 297.4
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#4E4662
secondary
#889073
accent
#B96EA4
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4662

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

Preview Lab → · Contrast checker → · Palette generator →

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