#4E3E91#4E3E91

#4E3E91 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.6% C 0.131 H 288.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E3E91
RGBrgb(78, 62, 145)
HSLhsl(252, 40%, 41%)
HSVhsv(252, 57%, 57%)
CMYKcmyk(46.2%, 57.2%, 0%, 43.1%)
CIE-LABlab(32.05, 28.71, -43.77)
CIE-LCHlch(32.05, 52.34, 303.26°)
OKLaboklab(42.61% 0.0415 -0.1247)
OKLCHoklch(42.61% 0.131 288.4)
XYZxyz(9.9739, 7.1089, 27.6292)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E91 #81913E
analogous
#3E5791 #4E3E91 #773E91
triadic
#4E3E91 #914E3E #3E914E
tetradic
#4E3E91 #913E57 #81913E #3E9177
square
#4E3E91 #913E57 #81913E #3E9177
split-complementary
#4E3E91 #91773E #57913E
monochromatic
#20193B #372C66 #4E3E91 #6856B7 #8E80C9

Accessibility & contrast

On white

8.67
#4E3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E91
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E91#FFFFFF#000000##FFFFFF
##4E3E911.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D94
Deuteranopia (green-blind)
#0F498F
Tritanopia (blue-blind)
#395061
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e3e91;
/* rgb */ color: rgb(78, 62, 145);
/* oklch */ color: oklch(42.6% 0.131 288.4);
Tailwind
colors: {
  custom: {
    50: '#8474b2',
    500: '#4e3e91',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e91;
$custom-light: #8474b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e91",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 251.566,
    "s": 40.097,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.13146,
    "h": 288.4
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#4E3E91
secondary
#A8B378
accent
#D058B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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