#4E3AA4#4E3AA4

#4E3AA4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.4% C 0.163 H 286.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E3AA4
RGBrgb(78, 58, 164)
HSLhsl(251, 48%, 44%)
HSVhsv(251, 65%, 64%)
CMYKcmyk(52.4%, 64.6%, 0%, 35.7%)
CIE-LABlab(32.54, 37.04, -54.52)
CIE-LCHlch(32.54, 65.91, 304.19°)
OKLaboklab(43.42% 0.0452 -0.1564)
OKLCHoklch(43.42% 0.163 286.1)
XYZxyz(11.3538, 7.3256, 35.9305)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AA4 #90A43A
analogous
#3A5BA4 #4E3AA4 #833AA4
triadic
#4E3AA4 #A44E3A #3AA44E
tetradic
#4E3AA4 #A43A5B #90A43A #3AA483
square
#4E3AA4 #A43A5B #90A43A #3AA483
split-complementary
#4E3AA4 #A4833A #5BA43A
monochromatic
#231A4A #382A77 #4E3AA4 #6C57C4 #9485D4

Accessibility & contrast

On white

8.52
#4E3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E3AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AA4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AA4#FFFFFF#000000##FFFFFF
##4E3AA41.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#2D5469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3aa4;
/* rgb */ color: rgb(78, 58, 164);
/* oklch */ color: oklch(43.4% 0.163 286.1);
Tailwind
colors: {
  custom: {
    50: '#8771c0',
    500: '#4e3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aa4;
$custom-light: #8771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aa4",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 251.321,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.16278,
    "h": 286.1
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#4E3AA4
secondary
#B1BE7C
accent
#D750BE
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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