#4E399D#4E399D

#4E399D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.155 H 287.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4E399D
RGBrgb(78, 57, 157)
HSLhsl(253, 47%, 42%)
HSVhsv(253, 64%, 62%)
CMYKcmyk(50.3%, 63.7%, 0%, 38.4%)
CIE-LABlab(31.76, 35.48, -51.56)
CIE-LCHlch(31.76, 62.58, 304.53°)
OKLaboklab(42.68% 0.0469 -0.1477)
OKLCHoklch(42.68% 0.155 287.6)
XYZxyz(10.6890, 6.9798, 32.6758)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399D #889D39
analogous
#39569D #4E399D #80399D
triadic
#4E399D #9D4E39 #399D4E
tetradic
#4E399D #9D3956 #889D39 #399D80
square
#4E399D #9D3956 #889D39 #399D80
split-complementary
#4E399D #9D8039 #569D39
monochromatic
#211843 #382970 #4E399D #6A53C0 #9180D1

Accessibility & contrast

On white

8.76
#4E399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E399D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399D#FFFFFF#000000##FFFFFF
##4E399D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#325165
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e399d;
/* rgb */ color: rgb(78, 57, 157);
/* oklch */ color: oklch(42.7% 0.155 287.6);
Tailwind
colors: {
  custom: {
    50: '#8670bb',
    500: '#4e399d',
    950: '#000000',
  },
}
SCSS
$custom: #4e399d;
$custom-light: #8670bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399d",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 252.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.15492,
    "h": 287.6
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#4E399D
secondary
#ACBA78
accent
#D651BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E399D

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

Preview Lab → · Contrast checker → · Palette generator →

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