#4E4084#4E4084

#4E4084 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.110 H 290.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E4084
RGBrgb(78, 64, 132)
HSLhsl(252, 35%, 38%)
HSVhsv(252, 52%, 52%)
CMYKcmyk(40.9%, 51.5%, 0%, 48.2%)
CIE-LABlab(31.70, 23.47, -36.33)
CIE-LCHlch(31.70, 43.25, 302.86°)
OKLaboklab(42.07% 0.0382 -0.1029)
OKLCHoklch(42.07% 0.11 290.4)
XYZxyz(9.1390, 6.9522, 22.6857)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4084 #768440
analogous
#405484 #4E4084 #704084
triadic
#4E4084 #844E40 #40844E
tetradic
#4E4084 #844054 #768440 #408470
square
#4E4084 #844054 #768440 #408470
split-complementary
#4E4084 #847040 #548440
monochromatic
#1D1832 #362C5B #4E4084 #6755AC #8C7EC0

Accessibility & contrast

On white

8.79
#4E4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4084
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4084#FFFFFF#000000##FFFFFF
##4E40841.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#3F4E5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4084;
/* rgb */ color: rgb(78, 64, 132);
/* oklch */ color: oklch(42.1% 0.110 290.4);
Tailwind
colors: {
  custom: {
    50: '#8375a8',
    500: '#4e4084',
    950: '#000000',
  },
}
SCSS
$custom: #4e4084;
$custom-light: #8375a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4084",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 252.353,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42071,
    "c": 0.10973,
    "h": 290.4
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#4E4084
secondary
#A0AB75
accent
#CB5DB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4084

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

Preview Lab → · Contrast checker → · Palette generator →

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