#4E389A#4E389A

#4E389A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.152 H 288.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4E389A
RGBrgb(78, 56, 154)
HSLhsl(253, 47%, 41%)
HSVhsv(253, 64%, 60%)
CMYKcmyk(49.4%, 63.6%, 0%, 39.6%)
CIE-LABlab(31.30, 35.16, -50.48)
CIE-LCHlch(31.30, 61.52, 304.86°)
OKLaboklab(42.27% 0.0482 -0.1445)
OKLCHoklch(42.27% 0.152 288.5)
XYZxyz(10.3871, 6.7807, 31.3271)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389A #849A38
analogous
#38539A #4E389A #7F389A
triadic
#4E389A #9A4E38 #389A4E
tetradic
#4E389A #9A3853 #849A38 #389A7F
square
#4E389A #9A3853 #849A38 #389A7F
split-complementary
#4E389A #9A7F38 #539A38
monochromatic
#211740 #37286D #4E389A #6950BF #8F7DD0

Accessibility & contrast

On white

8.91
#4E389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E389A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E389A#FFFFFF#000000##FFFFFF
##4E389A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#344F63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e389a;
/* rgb */ color: rgb(78, 56, 154);
/* oklch */ color: oklch(42.3% 0.152 288.5);
Tailwind
colors: {
  custom: {
    50: '#8670b8',
    500: '#4e389a',
    950: '#000000',
  },
}
SCSS
$custom: #4e389a;
$custom-light: #8670b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389a",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 253.469,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.15232,
    "h": 288.5
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#4E389A
secondary
#AAB975
accent
#D651B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E389A

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

Preview Lab → · Contrast checker → · Palette generator →

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