#4E4162#4E4162

#4E4162 is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.3% C 0.057 H 302.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4162
RGBrgb(78, 65, 98)
HSLhsl(264, 20%, 32%)
HSVhsv(264, 34%, 38%)
CMYKcmyk(20.4%, 33.7%, 0%, 61.6%)
CIE-LABlab(30.11, 13.15, -17.40)
CIE-LCHlch(30.11, 21.81, 307.09°)
OKLaboklab(40.27% 0.03 -0.0479)
OKLCHoklch(40.27% 0.057 302)
XYZxyz(7.2363, 6.2821, 12.3843)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4162 #556241
analogous
#414562 #4E4162 #5F4162
triadic
#4E4162 #624E41 #41624E
tetradic
#4E4162 #624145 #556241 #41625F
square
#4E4162 #624145 #556241 #41625F
split-complementary
#4E4162 #625F41 #456241
monochromatic
#131018 #31293D #4E4162 #6B5987 #8A78A5

Accessibility & contrast

On white

9.31
#4E4162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E4162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4162
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4162#FFFFFF#000000##FFFFFF
##4E41621.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4763
Deuteranopia (green-blind)
#3C4761
Tritanopia (blue-blind)
#4B464D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4162;
/* rgb */ color: rgb(78, 65, 98);
/* oklch */ color: oklch(40.3% 0.057 302.0);
Tailwind
colors: {
  custom: {
    50: '#80758e',
    500: '#4e4162',
    950: '#000000',
  },
}
SCSS
$custom: #4e4162;
$custom-light: #80758e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4162",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 263.636,
    "s": 20.245,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40268,
    "c": 0.05655,
    "h": 302
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#4E4162
secondary
#83916D
accent
#BD6B9D
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4162

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

Preview Lab → · Contrast checker → · Palette generator →

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