#4E3A91#4E3A91

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

Color values

HEX#4E3A91
RGBrgb(78, 58, 145)
HSLhsl(254, 43%, 40%)
HSVhsv(254, 60%, 57%)
CMYKcmyk(46.2%, 60%, 0%, 43.1%)
CIE-LABlab(31.09, 31.20, -45.32)
CIE-LCHlch(31.09, 55.02, 304.54°)
OKLaboklab(41.9% 0.0464 -0.1293)
OKLCHoklch(41.9% 0.137 289.7)
XYZxyz(9.7643, 6.6898, 27.5594)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3A91 #7D913A
analogous
#3A5291 #4E3A91 #7A3A91
triadic
#4E3A91 #914E3A #3A914E
tetradic
#4E3A91 #913A52 #7D913A #3A917A
square
#4E3A91 #913A52 #7D913A #3A917A
split-complementary
#4E3A91 #917A3A #52913A
monochromatic
#1F173A #362965 #4E3A91 #684FB9 #8D7BCA

Accessibility & contrast

On white

8.98
#4E3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3A91
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3A91#FFFFFF#000000##FFFFFF
##4E3A911.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#3A4E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3a91;
/* rgb */ color: rgb(78, 58, 145);
/* oklch */ color: oklch(41.9% 0.137 289.7);
Tailwind
colors: {
  custom: {
    50: '#8571b2',
    500: '#4e3a91',
    950: '#000000',
  },
}
SCSS
$custom: #4e3a91;
$custom-light: #8571b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3a91",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 253.793,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.13739,
    "h": 289.7
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#4E3A91
secondary
#A5B473
accent
#D355B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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