#4E399B#4E399B

#4E399B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.152 H 288.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E399B
RGBrgb(78, 57, 155)
HSLhsl(253, 46%, 42%)
HSVhsv(253, 63%, 61%)
CMYKcmyk(49.7%, 63.2%, 0%, 39.2%)
CIE-LABlab(31.61, 34.86, -50.59)
CIE-LCHlch(31.61, 61.44, 304.57°)
OKLaboklab(42.52% 0.047 -0.1448)
OKLCHoklch(42.52% 0.152 288)
XYZxyz(10.5197, 6.9121, 31.7839)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399B #869B39
analogous
#39559B #4E399B #7F399B
triadic
#4E399B #9B4E39 #399B4E
tetradic
#4E399B #9B3955 #869B39 #399B7F
square
#4E399B #9B3955 #869B39 #399B7F
split-complementary
#4E399B #9B7F39 #559B39
monochromatic
#211842 #37296E #4E399B #6952BF #907FD0

Accessibility & contrast

On white

8.81
#4E399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E399B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399B#FFFFFF#000000##FFFFFF
##4E399B1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e399b;
/* rgb */ color: rgb(78, 57, 155);
/* oklch */ color: oklch(42.5% 0.152 288.0);
Tailwind
colors: {
  custom: {
    50: '#8670b9',
    500: '#4e399b',
    950: '#000000',
  },
}
SCSS
$custom: #4e399b;
$custom-light: #8670b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399b",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 252.857,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.15227,
    "h": 288
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#4E399B
secondary
#ABB977
accent
#D652BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E399B

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

Preview Lab → · Contrast checker → · Palette generator →

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