#4E3993#4E3993

#4E3993 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 41.9% C 0.142 H 289.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4E3993
RGBrgb(78, 57, 147)
HSLhsl(254, 44%, 40%)
HSVhsv(254, 61%, 58%)
CMYKcmyk(46.9%, 61.2%, 0%, 42.4%)
CIE-LABlab(31.00, 32.42, -46.69)
CIE-LCHlch(31.00, 56.84, 304.78°)
OKLaboklab(41.88% 0.0475 -0.1333)
OKLCHoklch(41.88% 0.142 289.6)
XYZxyz(9.8700, 6.6522, 28.3621)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3993 #7E9339
analogous
#395193 #4E3993 #7B3993
triadic
#4E3993 #934E39 #39934E
tetradic
#4E3993 #933951 #7E9339 #39937B
square
#4E3993 #933951 #7E9339 #39937B
split-complementary
#4E3993 #937B39 #519339
monochromatic
#1F173B #372867 #4E3993 #684FBB #8E7BCC

Accessibility & contrast

On white

9.01
#4E3993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E3993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3993
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3993#FFFFFF#000000##FFFFFF
##4E39931.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#394D60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3993;
/* rgb */ color: rgb(78, 57, 147);
/* oklch */ color: oklch(41.9% 0.142 289.6);
Tailwind
colors: {
  custom: {
    50: '#8570b3',
    500: '#4e3993',
    950: '#000000',
  },
}
SCSS
$custom: #4e3993;
$custom-light: #8570b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3993",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 254,
    "s": 44.118,
    "l": 40
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.14156,
    "h": 289.6
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#4E3993
secondary
#A6B573
accent
#D454B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3993

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

Preview Lab → · Contrast checker → · Palette generator →

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