#4E389B#4E389B

#4E389B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.154 H 288.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E389B
RGBrgb(78, 56, 155)
HSLhsl(253, 47%, 41%)
HSVhsv(253, 64%, 61%)
CMYKcmyk(49.7%, 63.9%, 0%, 39.2%)
CIE-LABlab(31.38, 35.46, -50.96)
CIE-LCHlch(31.38, 62.09, 304.84°)
OKLaboklab(42.35% 0.0481 -0.1459)
OKLCHoklch(42.35% 0.154 288.3)
XYZxyz(10.4707, 6.8142, 31.7675)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389B #859B38
analogous
#38549B #4E389B #80389B
triadic
#4E389B #9B4E38 #389B4E
tetradic
#4E389B #9B3854 #859B38 #389B80
square
#4E389B #9B3854 #859B38 #389B80
split-complementary
#4E389B #9B8038 #549B38
monochromatic
#211841 #37286E #4E389B #6950C0 #907DD0

Accessibility & contrast

On white

8.89
#4E389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E389B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E389B#FFFFFF#000000##FFFFFF
##4E389B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e389b;
/* rgb */ color: rgb(78, 56, 155);
/* oklch */ color: oklch(42.4% 0.154 288.3);
Tailwind
colors: {
  custom: {
    50: '#8670b9',
    500: '#4e389b',
    950: '#000000',
  },
}
SCSS
$custom: #4e389b;
$custom-light: #8670b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389b",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 253.333,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.15364,
    "h": 288.3
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#4E389B
secondary
#AAB975
accent
#D751B9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E389B

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

Preview Lab → · Contrast checker → · Palette generator →

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