#4E4089#4E4089

#4E4089 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.4% C 0.117 H 289.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4089
RGBrgb(78, 64, 137)
HSLhsl(252, 36%, 39%)
HSVhsv(252, 53%, 54%)
CMYKcmyk(43.1%, 53.3%, 0%, 46.3%)
CIE-LABlab(32.02, 24.99, -38.91)
CIE-LCHlch(32.02, 46.24, 302.71°)
OKLaboklab(42.41% 0.0386 -0.1105)
OKLCHoklch(42.41% 0.117 289.3)
XYZxyz(9.4894, 7.0923, 24.5310)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4089 #7B8940
analogous
#405789 #4E4089 #734089
triadic
#4E4089 #894E40 #40894E
tetradic
#4E4089 #894057 #7B8940 #408973
square
#4E4089 #894057 #7B8940 #408973
split-complementary
#4E4089 #897340 #578940
monochromatic
#1F1936 #362D5F #4E4089 #6756B0 #8D80C4

Accessibility & contrast

On white

8.68
#4E4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4089
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4089#FFFFFF#000000##FFFFFF
##4E40891.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#214A87
Tritanopia (blue-blind)
#3D4F5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4089;
/* rgb */ color: rgb(78, 64, 137);
/* oklch */ color: oklch(42.4% 0.117 289.3);
Tailwind
colors: {
  custom: {
    50: '#8375ac',
    500: '#4e4089',
    950: '#000000',
  },
}
SCSS
$custom: #4e4089;
$custom-light: #8375ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4089",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 251.507,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.11701,
    "h": 289.3
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#4E4089
secondary
#A3AE77
accent
#CC5BB7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4089

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

Preview Lab → · Contrast checker → · Palette generator →

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