#4E4088#4E4088

#4E4088 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.3% C 0.116 H 289.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4E4088
RGBrgb(78, 64, 136)
HSLhsl(252, 36%, 39%)
HSVhsv(252, 53%, 53%)
CMYKcmyk(42.6%, 52.9%, 0%, 46.7%)
CIE-LABlab(31.95, 24.68, -38.40)
CIE-LCHlch(31.95, 45.65, 302.73°)
OKLaboklab(42.34% 0.0385 -0.1089)
OKLCHoklch(42.34% 0.116 289.5)
XYZxyz(9.4180, 7.0638, 24.1550)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4088 #7A8840
analogous
#405688 #4E4088 #724088
triadic
#4E4088 #884E40 #40884E
tetradic
#4E4088 #884056 #7A8840 #408872
square
#4E4088 #884056 #7A8840 #408872
split-complementary
#4E4088 #887240 #568840
monochromatic
#1E1935 #362C5E #4E4088 #6756AF #8D7FC3

Accessibility & contrast

On white

8.70
#4E4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4088
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4088#FFFFFF#000000##FFFFFF
##4E40881.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#224986
Tritanopia (blue-blind)
#3E4F5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4088;
/* rgb */ color: rgb(78, 64, 136);
/* oklch */ color: oklch(42.3% 0.116 289.5);
Tailwind
colors: {
  custom: {
    50: '#8375ab',
    500: '#4e4088',
    950: '#000000',
  },
}
SCSS
$custom: #4e4088;
$custom-light: #8375ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4088",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 251.667,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42343,
    "c": 0.11556,
    "h": 289.5
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4088

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

Preview Lab → · Contrast checker → · Palette generator →

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