#4E3591#4E3591

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

Color values

HEX#4E3591
RGBrgb(78, 53, 145)
HSLhsl(256, 46%, 39%)
HSVhsv(256, 63%, 57%)
CMYKcmyk(46.2%, 63.4%, 0%, 43.1%)
CIE-LABlab(29.94, 34.24, -47.19)
CIE-LCHlch(29.94, 58.30, 305.96°)
OKLaboklab(41.06% 0.0523 -0.1348)
OKLCHoklch(41.06% 0.145 291.2)
XYZxyz(9.5244, 6.2099, 27.4794)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3591 #789135
analogous
#354A91 #4E3591 #7C3591
triadic
#4E3591 #914E35 #35914E
tetradic
#4E3591 #91354A #789135 #35917C
square
#4E3591 #91354A #789135 #35917C
split-complementary
#4E3591 #917C35 #4A9135
monochromatic
#1E1437 #362564 #4E3591 #6747BC #8C74CC

Accessibility & contrast

On white

9.37
#4E3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3591
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3591#FFFFFF#000000##FFFFFF
##4E35911.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#3A4A5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3591;
/* rgb */ color: rgb(78, 53, 145);
/* oklch */ color: oklch(41.1% 0.145 291.2);
Tailwind
colors: {
  custom: {
    50: '#856db2',
    500: '#4e3591',
    950: '#000000',
  },
}
SCSS
$custom: #4e3591;
$custom-light: #856db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3591",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 256.304,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.14461,
    "h": 291.2
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#4E3591
secondary
#A1B56D
accent
#D652B2
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3591

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

Preview Lab → · Contrast checker → · Palette generator →

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