#4E389D#4E389D

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

Color values

HEX#4E389D
RGBrgb(78, 56, 157)
HSLhsl(253, 47%, 42%)
HSVhsv(253, 64%, 62%)
CMYKcmyk(50.3%, 64.3%, 0%, 38.4%)
CIE-LABlab(31.54, 36.08, -51.92)
CIE-LCHlch(31.54, 63.22, 304.79°)
OKLaboklab(42.51% 0.048 -0.1487)
OKLCHoklch(42.51% 0.156 287.9)
XYZxyz(10.6401, 6.8819, 32.6595)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389D #879D38
analogous
#38559D #4E389D #81389D
triadic
#4E389D #9D4E38 #389D4E
tetradic
#4E389D #9D3855 #879D38 #389D81
square
#4E389D #9D3855 #879D38 #389D81
split-complementary
#4E389D #9D8138 #559D38
monochromatic
#211843 #382870 #4E389D #6A51C1 #907ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E389D#FFFFFF#000000##FFFFFF
##4E389D1.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)
#004DA0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#325065
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e389d;
/* rgb */ color: rgb(78, 56, 157);
/* oklch */ color: oklch(42.5% 0.156 287.9);
Tailwind
colors: {
  custom: {
    50: '#8770bb',
    500: '#4e389d',
    950: '#000000',
  },
}
SCSS
$custom: #4e389d;
$custom-light: #8770bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389d",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 253.069,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.15627,
    "h": 287.9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#4E389D
secondary
#ACBA76
accent
#D751BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E389D

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

Preview Lab → · Contrast checker → · Palette generator →

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