#4E4862#4E4862

#4E4862 is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.8% C 0.043 H 295.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4862
RGBrgb(78, 72, 98)
HSLhsl(254, 15%, 33%)
HSVhsv(254, 27%, 38%)
CMYKcmyk(20.4%, 26.5%, 0%, 61.6%)
CIE-LABlab(32.12, 8.61, -14.32)
CIE-LCHlch(32.12, 16.71, 301.03°)
OKLaboklab(41.81% 0.0183 -0.0392)
OKLCHoklch(41.81% 0.043 295)
XYZxyz(7.6634, 7.1362, 12.5266)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4862 #5C6248
analogous
#484F62 #4E4862 #5B4862
triadic
#4E4862 #624E48 #48624E
tetradic
#4E4862 #62484F #5C6248 #48625B
square
#4E4862 #62484F #5C6248 #48625B
split-complementary
#4E4862 #625B48 #4F6248
monochromatic
#16141B #322E3F #4E4862 #6A6285 #8982A3

Accessibility & contrast

On white

8.65
#4E4862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4862
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4862#FFFFFF#000000##FFFFFF
##4E48621.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C63
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#4A4C51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4862;
/* rgb */ color: rgb(78, 72, 98);
/* oklch */ color: oklch(41.8% 0.043 295.0);
Tailwind
colors: {
  custom: {
    50: '#807b8e',
    500: '#4e4862',
    950: '#000000',
  },
}
SCSS
$custom: #4e4862;
$custom-light: #807b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4862",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 253.846,
    "s": 15.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.04332,
    "h": 295
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#4E4862
secondary
#8A9076
accent
#B870A7
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4862

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

Preview Lab → · Contrast checker → · Palette generator →

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