#4E3494#4E3494

#4E3494 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.150 H 290.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4E3494
RGBrgb(78, 52, 148)
HSLhsl(256, 48%, 39%)
HSVhsv(256, 65%, 58%)
CMYKcmyk(47.3%, 64.9%, 0%, 42%)
CIE-LABlab(29.94, 35.73, -49.02)
CIE-LCHlch(29.94, 60.66, 306.09°)
OKLaboklab(41.14% 0.0532 -0.1402)
OKLCHoklch(41.14% 0.15 290.8)
XYZxyz(9.7137, 6.2135, 28.6987)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3494 #7A9434
analogous
#344A94 #4E3494 #7E3494
triadic
#4E3494 #944E34 #34944E
tetradic
#4E3494 #94344A #7A9434 #34947E
square
#4E3494 #94344A #7A9434 #34947E
split-complementary
#4E3494 #947E34 #4A9434
monochromatic
#1E1439 #362467 #4E3494 #6747BE #8D74CE

Accessibility & contrast

On white

9.36
#4E3494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E3494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3494
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3494#FFFFFF#000000##FFFFFF
##4E34941.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#384B5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3494;
/* rgb */ color: rgb(78, 52, 148);
/* oklch */ color: oklch(41.1% 0.150 290.8);
Tailwind
colors: {
  custom: {
    50: '#866db4',
    500: '#4e3494',
    950: '#000000',
  },
}
SCSS
$custom: #4e3494;
$custom-light: #866db4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3494",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 256.25,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.14995,
    "h": 290.8
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#4E3494
secondary
#A3B76D
accent
#D850B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3494

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

Preview Lab → · Contrast checker → · Palette generator →

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