#4E4087#4E4087

#4E4087 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.3% C 0.114 H 289.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E4087
RGBrgb(78, 64, 135)
HSLhsl(252, 36%, 39%)
HSVhsv(252, 53%, 53%)
CMYKcmyk(42.2%, 52.6%, 0%, 47.1%)
CIE-LABlab(31.89, 24.38, -37.88)
CIE-LCHlch(31.89, 45.05, 302.76°)
OKLaboklab(42.28% 0.0384 -0.1074)
OKLCHoklch(42.28% 0.114 289.7)
XYZxyz(9.3472, 7.0355, 23.7825)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4087 #798740
analogous
#405687 #4E4087 #724087
triadic
#4E4087 #874E40 #40874E
tetradic
#4E4087 #874056 #798740 #408772
square
#4E4087 #874056 #798740 #408772
split-complementary
#4E4087 #877240 #568740
monochromatic
#1E1934 #362C5D #4E4087 #6756AF #8C7FC2

Accessibility & contrast

On white

8.72
#4E4087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4087
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4087#FFFFFF#000000##FFFFFF
##4E40871.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#3E4F5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4087;
/* rgb */ color: rgb(78, 64, 135);
/* oklch */ color: oklch(42.3% 0.114 289.7);
Tailwind
colors: {
  custom: {
    50: '#8375aa',
    500: '#4e4087',
    950: '#000000',
  },
}
SCSS
$custom: #4e4087;
$custom-light: #8375aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4087",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 251.831,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.11411,
    "h": 289.7
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#4E4087
secondary
#A2AD76
accent
#CC5CB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4087

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

Preview Lab → · Contrast checker → · Palette generator →

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