#4E4476#4E4476

#4E4476 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.0% C 0.082 H 291.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4E4476
RGBrgb(78, 68, 118)
HSLhsl(252, 27%, 36%)
HSVhsv(252, 42%, 46%)
CMYKcmyk(33.9%, 42.4%, 0%, 53.7%)
CIE-LABlab(31.95, 16.74, -27.20)
CIE-LCHlch(31.95, 31.94, 301.60°)
OKLaboklab(42% 0.0303 -0.0762)
OKLCHoklch(42% 0.082 291.7)
XYZxyz(8.4782, 7.0618, 18.0524)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4476 #6C7644
analogous
#445376 #4E4476 #674476
triadic
#4E4476 #764E44 #44764E
tetradic
#4E4476 #764453 #6C7644 #447667
square
#4E4476 #764453 #6C7644 #447667
split-complementary
#4E4476 #766744 #537644
monochromatic
#1B1728 #342E4F #4E4476 #685A9D #8A7FB5

Accessibility & contrast

On white

8.71
#4E4476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4476
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4476#FFFFFF#000000##FFFFFF
##4E44761.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#454D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4476;
/* rgb */ color: rgb(78, 68, 118);
/* oklch */ color: oklch(42.0% 0.082 291.7);
Tailwind
colors: {
  custom: {
    50: '#81789e',
    500: '#4e4476',
    950: '#000000',
  },
}
SCSS
$custom: #4e4476;
$custom-light: #81789e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4476",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 252,
    "s": 26.882,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.08202,
    "h": 291.7
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#4E4476
secondary
#98A175
accent
#C365B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4476

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

Preview Lab → · Contrast checker → · Palette generator →

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