#4E4576#4E4576

#4E4576 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.2% C 0.080 H 291.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4576
RGBrgb(78, 69, 118)
HSLhsl(251, 26%, 37%)
HSVhsv(251, 42%, 46%)
CMYKcmyk(33.9%, 41.5%, 0%, 53.7%)
CIE-LABlab(32.22, 16.09, -26.77)
CIE-LCHlch(32.22, 31.23, 301.00°)
OKLaboklab(42.2% 0.0288 -0.075)
OKLCHoklch(42.2% 0.08 291)
XYZxyz(8.5392, 7.1838, 18.0727)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4576 #6D7645
analogous
#455576 #4E4576 #674576
triadic
#4E4576 #764E45 #45764E
tetradic
#4E4576 #764555 #6D7645 #457667
square
#4E4576 #764555 #6D7645 #457667
split-complementary
#4E4576 #766745 #557645
monochromatic
#1B1829 #342E4F #4E4576 #685C9D #8A80B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4576#FFFFFF#000000##FFFFFF
##4E45761.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#454E58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4576;
/* rgb */ color: rgb(78, 69, 118);
/* oklch */ color: oklch(42.2% 0.080 291.0);
Tailwind
colors: {
  custom: {
    50: '#81789e',
    500: '#4e4576',
    950: '#000000',
  },
}
SCSS
$custom: #4e4576;
$custom-light: #81789e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4576",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 118
  },
  "hsl": {
    "h": 251.02,
    "s": 26.203,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42203,
    "c": 0.08031,
    "h": 291
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#4E4576
secondary
#99A176
accent
#C365B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4576

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

Preview Lab → · Contrast checker → · Palette generator →

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