#4E4479#4E4479

#4E4479 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.087 H 290.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4479
RGBrgb(78, 68, 121)
HSLhsl(251, 28%, 37%)
HSVhsv(251, 44%, 47%)
CMYKcmyk(35.5%, 43.8%, 0%, 52.5%)
CIE-LABlab(32.11, 17.61, -28.83)
CIE-LCHlch(32.11, 33.78, 301.42°)
OKLaboklab(42.17% 0.0309 -0.0809)
OKLCHoklch(42.17% 0.087 290.9)
XYZxyz(8.6593, 7.1342, 19.0063)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4479 #6F7944
analogous
#445579 #4E4479 #694479
triadic
#4E4479 #794E44 #44794E
tetradic
#4E4479 #794455 #6F7944 #447969
square
#4E4479 #794455 #6F7944 #447969
split-complementary
#4E4479 #796944 #557944
monochromatic
#1B182B #352E52 #4E4479 #675AA0 #8A80B8

Accessibility & contrast

On white

8.65
#4E4479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4479
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4479#FFFFFF#000000##FFFFFF
##4E44791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#444E58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4479;
/* rgb */ color: rgb(78, 68, 121);
/* oklch */ color: oklch(42.2% 0.087 290.9);
Tailwind
colors: {
  custom: {
    50: '#8178a0',
    500: '#4e4479',
    950: '#000000',
  },
}
SCSS
$custom: #4e4479;
$custom-light: #8178a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4479",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 251.321,
    "s": 28.042,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.08664,
    "h": 290.9
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#4E4479
secondary
#9AA376
accent
#C463B2
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4479

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

Preview Lab → · Contrast checker → · Palette generator →

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