#4E4865#4E4865

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

Color values

HEX#4E4865
RGBrgb(78, 72, 101)
HSLhsl(252, 17%, 34%)
HSVhsv(252, 29%, 40%)
CMYKcmyk(22.8%, 28.7%, 0%, 60.4%)
CIE-LABlab(32.24, 9.40, -16.02)
CIE-LCHlch(32.24, 18.58, 300.41°)
OKLaboklab(41.95% 0.0194 -0.0441)
OKLCHoklch(41.95% 0.048 293.7)
XYZxyz(7.8077, 7.1939, 13.2866)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4865 #5F6548
analogous
#485165 #4E4865 #5D4865
triadic
#4E4865 #654E48 #48654E
tetradic
#4E4865 #654851 #5F6548 #48655D
square
#4E4865 #654851 #5F6548 #48655D
split-complementary
#4E4865 #655D48 #516548
monochromatic
#17151E #322F41 #4E4865 #6A6189 #8982A6

Accessibility & contrast

On white

8.61
#4E4865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4865
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4865#FFFFFF#000000##FFFFFF
##4E48651.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C66
Deuteranopia (green-blind)
#424B64
Tritanopia (blue-blind)
#494D52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4865;
/* rgb */ color: rgb(78, 72, 101);
/* oklch */ color: oklch(41.9% 0.048 293.7);
Tailwind
colors: {
  custom: {
    50: '#807b91',
    500: '#4e4865',
    950: '#000000',
  },
}
SCSS
$custom: #4e4865;
$custom-light: #807b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4865",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 252.414,
    "s": 16.763,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.04814,
    "h": 293.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#4E4865
secondary
#8D9376
accent
#B96EAA
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4865

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

Preview Lab → · Contrast checker → · Palette generator →

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