#4E4091#4E4091

#4E4091 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.0% C 0.128 H 287.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4091
RGBrgb(78, 64, 145)
HSLhsl(250, 39%, 41%)
HSVhsv(250, 56%, 57%)
CMYKcmyk(46.2%, 55.9%, 0%, 43.1%)
CIE-LABlab(32.55, 27.45, -42.97)
CIE-LCHlch(32.55, 50.99, 302.57°)
OKLaboklab(42.98% 0.039 -0.1224)
OKLCHoklch(42.98% 0.128 287.7)
XYZxyz(10.0847, 7.3304, 27.6661)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4091 #839140
analogous
#405A91 #4E4091 #764091
triadic
#4E4091 #914E40 #40914E
tetradic
#4E4091 #91405A #839140 #409176
square
#4E4091 #91405A #839140 #409176
split-complementary
#4E4091 #917640 #5A9140
monochromatic
#201B3C #372D67 #4E4091 #6959B6 #8F83C8

Accessibility & contrast

On white

8.52
#4E4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4091
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4091#FFFFFF#000000##FFFFFF
##4E40911.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E94
Deuteranopia (green-blind)
#154A8F
Tritanopia (blue-blind)
#395262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4091;
/* rgb */ color: rgb(78, 64, 145);
/* oklch */ color: oklch(43.0% 0.128 287.7);
Tailwind
colors: {
  custom: {
    50: '#8475b2',
    500: '#4e4091',
    950: '#000000',
  },
}
SCSS
$custom: #4e4091;
$custom-light: #8475b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4091",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 250.37,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.12847,
    "h": 287.7
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#4E4091
secondary
#A9B37A
accent
#CF59BA
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4091

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

Preview Lab → · Contrast checker → · Palette generator →

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