#4E4184#4E4184

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

Color values

HEX#4E4184
RGBrgb(78, 65, 132)
HSLhsl(252, 34%, 39%)
HSVhsv(252, 51%, 52%)
CMYKcmyk(40.9%, 50.8%, 0%, 48.2%)
CIE-LABlab(31.96, 22.83, -35.92)
CIE-LCHlch(31.96, 42.56, 302.44°)
OKLaboklab(42.27% 0.0368 -0.1017)
OKLCHoklch(42.27% 0.108 289.9)
XYZxyz(9.1959, 7.0660, 22.7047)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4184 #778441
analogous
#415584 #4E4184 #6F4184
triadic
#4E4184 #844E41 #41844E
tetradic
#4E4184 #844155 #778441 #41846F
square
#4E4184 #844155 #778441 #41846F
split-complementary
#4E4184 #846F41 #558441
monochromatic
#1E1932 #362D5B #4E4184 #6756AC #8C7FC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4184#FFFFFF#000000##FFFFFF
##4E41841.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)
#274C86
Deuteranopia (green-blind)
#284A82
Tritanopia (blue-blind)
#3F4F5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4184;
/* rgb */ color: rgb(78, 65, 132);
/* oklch */ color: oklch(42.3% 0.108 289.9);
Tailwind
colors: {
  custom: {
    50: '#8376a8',
    500: '#4e4184',
    950: '#000000',
  },
}
SCSS
$custom: #4e4184;
$custom-light: #8376a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4184",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 251.642,
    "s": 34.01,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.10813,
    "h": 289.9
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#4E4184
secondary
#A1AB76
accent
#CA5EB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4184

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

Preview Lab → · Contrast checker → · Palette generator →

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