#4E3CA4#4E3CA4

#4E3CA4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.160 H 285.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E3CA4
RGBrgb(78, 60, 164)
HSLhsl(250, 46%, 44%)
HSVhsv(250, 63%, 64%)
CMYKcmyk(52.4%, 63.4%, 0%, 35.7%)
CIE-LABlab(32.99, 35.84, -53.79)
CIE-LCHlch(32.99, 64.64, 303.67°)
OKLaboklab(43.74% 0.0431 -0.1542)
OKLCHoklch(43.74% 0.16 285.6)
XYZxyz(11.4566, 7.5312, 35.9647)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CA4 #92A43C
analogous
#3C5EA4 #4E3CA4 #823CA4
triadic
#4E3CA4 #A44E3C #3CA44E
tetradic
#4E3CA4 #A43C5E #92A43C #3CA482
square
#4E3CA4 #A43C5E #92A43C #3CA482
split-complementary
#4E3CA4 #A4823C #5EA43C
monochromatic
#231B4A #392C77 #4E3CA4 #6C5AC3 #9487D3

Accessibility & contrast

On white

8.38
#4E3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CA4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CA4#FFFFFF#000000##FFFFFF
##4E3CA41.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#2D556A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ca4;
/* rgb */ color: rgb(78, 60, 164);
/* oklch */ color: oklch(43.7% 0.160 285.6);
Tailwind
colors: {
  custom: {
    50: '#8773c0',
    500: '#4e3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ca4;
$custom-light: #8773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ca4",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 250.385,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.16014,
    "h": 285.6
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#4E3CA4
secondary
#B3BD7E
accent
#D652BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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