#4E399F#4E399F

#4E399F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.158 H 287.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4E399F
RGBrgb(78, 57, 159)
HSLhsl(252, 47%, 42%)
HSVhsv(252, 64%, 62%)
CMYKcmyk(50.9%, 64.2%, 0%, 37.6%)
CIE-LABlab(31.92, 36.09, -52.51)
CIE-LCHlch(31.92, 63.72, 304.50°)
OKLaboklab(42.84% 0.0467 -0.1505)
OKLCHoklch(42.84% 0.158 287.2)
XYZxyz(10.8612, 7.0487, 33.5824)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399F #8A9F39
analogous
#39579F #4E399F #81399F
triadic
#4E399F #9F4E39 #399F4E
tetradic
#4E399F #9F3957 #8A9F39 #399F81
square
#4E399F #9F3957 #8A9F39 #399F81
split-complementary
#4E399F #9F8139 #579F39
monochromatic
#221945 #382972 #4E399F #6A54C2 #9181D2

Accessibility & contrast

On white

8.71
#4E399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E399F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399F#FFFFFF#000000##FFFFFF
##4E399F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#315166
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e399f;
/* rgb */ color: rgb(78, 57, 159);
/* oklch */ color: oklch(42.8% 0.158 287.2);
Tailwind
colors: {
  custom: {
    50: '#8770bc',
    500: '#4e399f',
    950: '#000000',
  },
}
SCSS
$custom: #4e399f;
$custom-light: #8770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399f",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 252.353,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.15755,
    "h": 287.2
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#4E399F
secondary
#AEBB78
accent
#D751BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E399F

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

Preview Lab → · Contrast checker → · Palette generator →

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