#4E389C#4E389C

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

Color values

HEX#4E389C
RGBrgb(78, 56, 156)
HSLhsl(253, 47%, 42%)
HSVhsv(253, 64%, 61%)
CMYKcmyk(50%, 64.1%, 0%, 38.8%)
CIE-LABlab(31.46, 35.77, -51.44)
CIE-LCHlch(31.46, 62.66, 304.81°)
OKLaboklab(42.43% 0.048 -0.1473)
OKLCHoklch(42.43% 0.155 288.1)
XYZxyz(10.5551, 6.8479, 32.2117)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E389C #869C38
analogous
#38549C #4E389C #80389C
triadic
#4E389C #9C4E38 #389C4E
tetradic
#4E389C #9C3854 #869C38 #389C80
square
#4E389C #9C3854 #869C38 #389C80
split-complementary
#4E389C #9C8038 #549C38
monochromatic
#211842 #37286F #4E389C #6951C0 #907ED1

Accessibility & contrast

On white

8.86
#4E389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E389C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E389C#FFFFFF#000000##FFFFFF
##4E389C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#335064
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e389c;
/* rgb */ color: rgb(78, 56, 156);
/* oklch */ color: oklch(42.4% 0.155 288.1);
Tailwind
colors: {
  custom: {
    50: '#8670ba',
    500: '#4e389c',
    950: '#000000',
  },
}
SCSS
$custom: #4e389c;
$custom-light: #8670ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e389c",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 253.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.15495,
    "h": 288.1
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E389C

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

Preview Lab → · Contrast checker → · Palette generator →

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