#4E4094#4E4094

#4E4094 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.2% C 0.133 H 287.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4E4094
RGBrgb(78, 64, 148)
HSLhsl(250, 40%, 42%)
HSVhsv(250, 57%, 58%)
CMYKcmyk(47.3%, 56.8%, 0%, 42%)
CIE-LABlab(32.75, 28.38, -44.47)
CIE-LCHlch(32.75, 52.76, 302.54°)
OKLaboklab(43.2% 0.0391 -0.1268)
OKLCHoklch(43.2% 0.133 287.1)
XYZxyz(10.3190, 7.4242, 28.9005)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4094 #869440
analogous
#405C94 #4E4094 #784094
triadic
#4E4094 #944E40 #40944E
tetradic
#4E4094 #94405C #869440 #409478
square
#4E4094 #94405C #869440 #409478
split-complementary
#4E4094 #947840 #5C9440
monochromatic
#211B3F #372E69 #4E4094 #695AB8 #9084CA

Accessibility & contrast

On white

8.45
#4E4094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4094
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4094#FFFFFF#000000##FFFFFF
##4E40941.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F97
Deuteranopia (green-blind)
#0F4B92
Tritanopia (blue-blind)
#375363
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4094;
/* rgb */ color: rgb(78, 64, 148);
/* oklch */ color: oklch(43.2% 0.133 287.1);
Tailwind
colors: {
  custom: {
    50: '#8575b4',
    500: '#4e4094',
    950: '#000000',
  },
}
SCSS
$custom: #4e4094;
$custom-light: #8575b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4094",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 250,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.1327,
    "h": 287.1
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#4E4094
secondary
#ABB47B
accent
#D058BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4094

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

Preview Lab → · Contrast checker → · Palette generator →

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