#4E4093#4E4093

#4E4093 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.1% C 0.131 H 287.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4093
RGBrgb(78, 64, 147)
HSLhsl(250, 39%, 41%)
HSVhsv(250, 56%, 58%)
CMYKcmyk(46.9%, 56.5%, 0%, 42.4%)
CIE-LABlab(32.68, 28.07, -43.97)
CIE-LCHlch(32.68, 52.17, 302.55°)
OKLaboklab(43.12% 0.0391 -0.1253)
OKLCHoklch(43.12% 0.131 287.3)
XYZxyz(10.2402, 7.3927, 28.4855)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4093 #859340
analogous
#405C93 #4E4093 #784093
triadic
#4E4093 #934E40 #40934E
tetradic
#4E4093 #93405C #859340 #409378
square
#4E4093 #93405C #859340 #409378
split-complementary
#4E4093 #937840 #5C9340
monochromatic
#211B3E #372D68 #4E4093 #6959B7 #9084C9

Accessibility & contrast

On white

8.47
#4E4093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E4093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4093
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4093#FFFFFF#000000##FFFFFF
##4E40931.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#114B91
Tritanopia (blue-blind)
#385263
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4093;
/* rgb */ color: rgb(78, 64, 147);
/* oklch */ color: oklch(43.1% 0.131 287.3);
Tailwind
colors: {
  custom: {
    50: '#8575b3',
    500: '#4e4093',
    950: '#000000',
  },
}
SCSS
$custom: #4e4093;
$custom-light: #8575b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4093",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 250.12,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.13129,
    "h": 287.3
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#4E4093
secondary
#AAB47B
accent
#CF59BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4093

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

Preview Lab → · Contrast checker → · Palette generator →

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