#4E4189#4E4189

#4E4189 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.6% C 0.115 H 288.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4189
RGBrgb(78, 65, 137)
HSLhsl(251, 36%, 40%)
HSVhsv(251, 53%, 54%)
CMYKcmyk(43.1%, 52.6%, 0%, 46.3%)
CIE-LABlab(32.27, 24.35, -38.50)
CIE-LCHlch(32.27, 45.56, 302.31°)
OKLaboklab(42.6% 0.0373 -0.1093)
OKLCHoklch(42.6% 0.115 288.8)
XYZxyz(9.5463, 7.2061, 24.5500)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4189 #7C8941
analogous
#415889 #4E4189 #724189
triadic
#4E4189 #894E41 #41894E
tetradic
#4E4189 #894158 #7C8941 #418972
square
#4E4189 #894158 #7C8941 #418972
split-complementary
#4E4189 #897241 #588941
monochromatic
#1F1A36 #362D5F #4E4189 #6758B0 #8D81C3

Accessibility & contrast

On white

8.60
#4E4189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4189
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4189#FFFFFF#000000##FFFFFF
##4E41891.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8C
Deuteranopia (green-blind)
#234A87
Tritanopia (blue-blind)
#3D505E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4189;
/* rgb */ color: rgb(78, 65, 137);
/* oklch */ color: oklch(42.6% 0.115 288.8);
Tailwind
colors: {
  custom: {
    50: '#8376ac',
    500: '#4e4189',
    950: '#000000',
  },
}
SCSS
$custom: #4e4189;
$custom-light: #8376ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4189",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 250.833,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.11544,
    "h": 288.8
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#4E4189
secondary
#A4AE78
accent
#CC5CB8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4189

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

Preview Lab → · Contrast checker → · Palette generator →

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