#4E4562#4E4562

#4E4562 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.1% C 0.049 H 298.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4562
RGBrgb(78, 69, 98)
HSLhsl(259, 17%, 33%)
HSVhsv(259, 30%, 38%)
CMYKcmyk(20.4%, 29.6%, 0%, 61.6%)
CIE-LABlab(31.25, 10.55, -15.64)
CIE-LCHlch(31.25, 18.87, 304.00°)
OKLaboklab(41.14% 0.0233 -0.043)
OKLCHoklch(41.14% 0.049 298.5)
XYZxyz(7.4741, 6.7578, 12.4635)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4562 #596245
analogous
#454A62 #4E4562 #5C4562
triadic
#4E4562 #624E45 #45624E
tetradic
#4E4562 #62454A #596245 #45625C
square
#4E4562 #62454A #596245 #45625C
split-complementary
#4E4562 #625C45 #4A6245
monochromatic
#15121A #312C3E #4E4562 #6B5E86 #897EA4

Accessibility & contrast

On white

8.93
#4E4562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E4562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4562
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4562#FFFFFF#000000##FFFFFF
##4E45621.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4A63
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#4A494F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4562;
/* rgb */ color: rgb(78, 69, 98);
/* oklch */ color: oklch(41.1% 0.049 298.5);
Tailwind
colors: {
  custom: {
    50: '#80788e',
    500: '#4e4562',
    950: '#000000',
  },
}
SCSS
$custom: #4e4562;
$custom-light: #80788e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4562",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 98
  },
  "hsl": {
    "h": 258.621,
    "s": 17.365,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.04891,
    "h": 298.5
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#4E4562
secondary
#879172
accent
#BA6EA2
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4562

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

Preview Lab → · Contrast checker → · Palette generator →

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