#4E379A#4E379A

#4E379A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.154 H 288.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4E379A
RGBrgb(78, 55, 154)
HSLhsl(254, 47%, 41%)
HSVhsv(254, 64%, 60%)
CMYKcmyk(49.4%, 64.3%, 0%, 39.6%)
CIE-LABlab(31.08, 35.76, -50.84)
CIE-LCHlch(31.08, 62.16, 305.12°)
OKLaboklab(42.11% 0.0493 -0.1456)
OKLCHoklch(42.11% 0.154 288.7)
XYZxyz(10.3391, 6.6847, 31.3111)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E379A #839A37
analogous
#37529A #4E379A #7F379A
triadic
#4E379A #9A4E37 #379A4E
tetradic
#4E379A #9A3752 #839A37 #379A7F
square
#4E379A #9A3752 #839A37 #379A7F
split-complementary
#4E379A #9A7F37 #529A37
monochromatic
#201740 #37276D #4E379A #694EC0 #8F7BD0

Accessibility & contrast

On white

8.99
#4E379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E379A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E379A#FFFFFF#000000##FFFFFF
##4E379A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#344F63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e379a;
/* rgb */ color: rgb(78, 55, 154);
/* oklch */ color: oklch(42.1% 0.154 288.7);
Tailwind
colors: {
  custom: {
    50: '#866fb8',
    500: '#4e379a',
    950: '#000000',
  },
}
SCSS
$custom: #4e379a;
$custom-light: #866fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e379a",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 253.939,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.15369,
    "h": 288.7
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#4E379A
secondary
#A9B974
accent
#D751B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E379A

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

Preview Lab → · Contrast checker → · Palette generator →

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