#4E4863#4E4863

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

Color values

HEX#4E4863
RGBrgb(78, 72, 99)
HSLhsl(253, 16%, 34%)
HSVhsv(253, 27%, 39%)
CMYKcmyk(21.2%, 27.3%, 0%, 61.2%)
CIE-LABlab(32.16, 8.87, -14.88)
CIE-LCHlch(32.16, 17.33, 300.80°)
OKLaboklab(41.85% 0.0187 -0.0409)
OKLCHoklch(41.85% 0.045 294.6)
XYZxyz(7.7109, 7.1552, 12.7768)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4863 #5D6348
analogous
#484F63 #4E4863 #5B4863
triadic
#4E4863 #634E48 #48634E
tetradic
#4E4863 #63484F #5D6348 #48635B
square
#4E4863 #63484F #5D6348 #48635B
split-complementary
#4E4863 #635B48 #4F6348
monochromatic
#16141C #322E40 #4E4863 #6A6286 #8982A4

Accessibility & contrast

On white

8.64
#4E4863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4863
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4863#FFFFFF#000000##FFFFFF
##4E48631.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4863;
/* rgb */ color: rgb(78, 72, 99);
/* oklch */ color: oklch(41.9% 0.045 294.6);
Tailwind
colors: {
  custom: {
    50: '#807b8f',
    500: '#4e4863',
    950: '#000000',
  },
}
SCSS
$custom: #4e4863;
$custom-light: #807b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4863",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 99
  },
  "hsl": {
    "h": 253.333,
    "s": 15.789,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.04493,
    "h": 294.6
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#4E4863
secondary
#8B9176
accent
#B96FA8
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4863

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

Preview Lab → · Contrast checker → · Palette generator →

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