#4E4864#4E4864

#4E4864 is a dark, muted violet. Relative luminance 0.072; OKLCH L 41.9% C 0.047 H 294.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4864
RGBrgb(78, 72, 100)
HSLhsl(253, 16%, 34%)
HSVhsv(253, 28%, 39%)
CMYKcmyk(22%, 28%, 0%, 60.8%)
CIE-LABlab(32.20, 9.14, -15.45)
CIE-LCHlch(32.20, 17.95, 300.60°)
OKLaboklab(41.9% 0.019 -0.0425)
OKLCHoklch(41.9% 0.047 294.1)
XYZxyz(7.7590, 7.1745, 13.0302)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4864 #5E6448
analogous
#485064 #4E4864 #5C4864
triadic
#4E4864 #644E48 #48644E
tetradic
#4E4864 #644850 #5E6448 #48645C
square
#4E4864 #644850 #5E6448 #48645C
split-complementary
#4E4864 #645C48 #506448
monochromatic
#16151D #322E40 #4E4864 #6A6288 #8982A5

Accessibility & contrast

On white

8.62
#4E4864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4864
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4864#FFFFFF#000000##FFFFFF
##4E48641.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C65
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#4A4C52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4864;
/* rgb */ color: rgb(78, 72, 100);
/* oklch */ color: oklch(41.9% 0.047 294.1);
Tailwind
colors: {
  custom: {
    50: '#807b90',
    500: '#4e4864',
    950: '#000000',
  },
}
SCSS
$custom: #4e4864;
$custom-light: #807b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4864",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 100
  },
  "hsl": {
    "h": 252.857,
    "s": 16.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.04653,
    "h": 294.1
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#4E4864
secondary
#8C9276
accent
#B96FA9
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4864

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

Preview Lab → · Contrast checker → · Palette generator →

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