#4E4866#4E4866

#4E4866 is a dark, muted violet. Relative luminance 0.072; OKLCH L 42.0% C 0.050 H 293.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4866
RGBrgb(78, 72, 102)
HSLhsl(252, 17%, 34%)
HSVhsv(252, 29%, 40%)
CMYKcmyk(23.5%, 29.4%, 0%, 60%)
CIE-LABlab(32.29, 9.67, -16.59)
CIE-LCHlch(32.29, 19.20, 300.24°)
OKLaboklab(42% 0.0197 -0.0457)
OKLCHoklch(42% 0.05 293.3)
XYZxyz(7.8570, 7.2137, 13.5462)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4866 #606648
analogous
#485166 #4E4866 #5D4866
triadic
#4E4866 #664E48 #48664E
tetradic
#4E4866 #664851 #606648 #48665D
square
#4E4866 #664851 #606648 #48665D
split-complementary
#4E4866 #665D48 #516648
monochromatic
#17151E #332F42 #4E4866 #69618A #8982A7

Accessibility & contrast

On white

8.60
#4E4866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4866
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4866#FFFFFF#000000##FFFFFF
##4E48661.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C67
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#494D53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4866;
/* rgb */ color: rgb(78, 72, 102);
/* oklch */ color: oklch(42.0% 0.050 293.3);
Tailwind
colors: {
  custom: {
    50: '#807b91',
    500: '#4e4866',
    950: '#000000',
  },
}
SCSS
$custom: #4e4866;
$custom-light: #807b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4866",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 102
  },
  "hsl": {
    "h": 252,
    "s": 17.241,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.04975,
    "h": 293.3
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#4E4866
secondary
#8E9476
accent
#BA6EAB
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090D
muted
#7C7B7D

Preview Lab

Preview with #4E4866

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

Preview Lab → · Contrast checker → · Palette generator →

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