#4E389E#4E389E

#4E389E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.158 H 287.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E389E
RGBrgb(78, 56, 158)
HSLhsl(253, 48%, 42%)
HSVhsv(253, 65%, 62%)
CMYKcmyk(50.6%, 64.6%, 0%, 38%)
CIE-LABlab(31.62, 36.38, -52.40)
CIE-LCHlch(31.62, 63.79, 304.77°)
OKLaboklab(42.6% 0.0479 -0.1501)
OKLCHoklch(42.6% 0.158 287.7)
XYZxyz(10.7258, 6.9162, 33.1109)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389E #889E38
analogous
#38559E #4E389E #81389E
triadic
#4E389E #9E4E38 #389E4E
tetradic
#4E389E #9E3855 #889E38 #389E81
square
#4E389E #9E3855 #889E38 #389E81
split-complementary
#4E389E #9E8138 #559E38
monochromatic
#211844 #382871 #4E389E #6A52C2 #917FD2

Accessibility & contrast

On white

8.81
#4E389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E389E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E389E#FFFFFF#000000##FFFFFF
##4E389E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#325166
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e389e;
/* rgb */ color: rgb(78, 56, 158);
/* oklch */ color: oklch(42.6% 0.158 287.7);
Tailwind
colors: {
  custom: {
    50: '#8770bb',
    500: '#4e389e',
    950: '#000000',
  },
}
SCSS
$custom: #4e389e;
$custom-light: #8770bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389e",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 252.941,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.15758,
    "h": 287.7
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E389E

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

Preview Lab → · Contrast checker → · Palette generator →

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