#4E399A#4E399A

#4E399A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.151 H 288.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4E399A
RGBrgb(78, 57, 154)
HSLhsl(253, 46%, 41%)
HSVhsv(253, 63%, 60%)
CMYKcmyk(49.4%, 63%, 0%, 39.6%)
CIE-LABlab(31.53, 34.56, -50.11)
CIE-LCHlch(31.53, 60.87, 304.59°)
OKLaboklab(42.44% 0.0471 -0.1434)
OKLCHoklch(42.44% 0.151 288.2)
XYZxyz(10.4361, 6.8786, 31.3434)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399A #859A39
analogous
#39559A #4E399A #7F399A
triadic
#4E399A #9A4E39 #399A4E
tetradic
#4E399A #9A3955 #859A39 #399A7F
square
#4E399A #9A3955 #859A39 #399A7F
split-complementary
#4E399A #9A7F39 #559A39
monochromatic
#211841 #37286D #4E399A #6951BF #907ECF

Accessibility & contrast

On white

8.84
#4E399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E399A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399A#FFFFFF#000000##FFFFFF
##4E399A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#345064
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e399a;
/* rgb */ color: rgb(78, 57, 154);
/* oklch */ color: oklch(42.4% 0.151 288.2);
Tailwind
colors: {
  custom: {
    50: '#8670b8',
    500: '#4e399a',
    950: '#000000',
  },
}
SCSS
$custom: #4e399a;
$custom-light: #8670b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399a",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 252.99,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.15095,
    "h": 288.2
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#4E399A
secondary
#AAB976
accent
#D652B9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E399A

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

Preview Lab → · Contrast checker → · Palette generator →

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