#4E389F#4E389F

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

Color values

HEX#4E389F
RGBrgb(78, 56, 159)
HSLhsl(253, 48%, 42%)
HSVhsv(253, 65%, 62%)
CMYKcmyk(50.9%, 64.8%, 0%, 37.6%)
CIE-LABlab(31.69, 36.69, -52.87)
CIE-LCHlch(31.69, 64.36, 304.75°)
OKLaboklab(42.68% 0.0478 -0.1515)
OKLCHoklch(42.68% 0.159 287.5)
XYZxyz(10.8122, 6.9508, 33.5661)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389F #899F38
analogous
#38559F #4E389F #82389F
triadic
#4E389F #9F4E38 #389F4E
tetradic
#4E389F #9F3855 #899F38 #389F82
square
#4E389F #9F3855 #899F38 #389F82
split-complementary
#4E389F #9F8238 #559F38
monochromatic
#221844 #382872 #4E389F #6A52C2 #917FD2

Accessibility & contrast

On white

8.79
#4E389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E389F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E389F#FFFFFF#000000##FFFFFF
##4E389F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e389f;
/* rgb */ color: rgb(78, 56, 159);
/* oklch */ color: oklch(42.7% 0.159 287.5);
Tailwind
colors: {
  custom: {
    50: '#8770bc',
    500: '#4e389f',
    950: '#000000',
  },
}
SCSS
$custom: #4e389f;
$custom-light: #8770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389f",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 252.816,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.15889,
    "h": 287.5
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#4E389F
secondary
#ADBB77
accent
#D750BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E389F

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

Preview Lab → · Contrast checker → · Palette generator →

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