#4E3AA0#4E3AA0

#4E3AA0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.1% C 0.158 H 286.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E3AA0
RGBrgb(78, 58, 160)
HSLhsl(252, 47%, 43%)
HSVhsv(252, 64%, 63%)
CMYKcmyk(51.2%, 63.8%, 0%, 37.3%)
CIE-LABlab(32.22, 35.80, -52.62)
CIE-LCHlch(32.22, 63.65, 304.23°)
OKLaboklab(43.09% 0.0456 -0.1508)
OKLCHoklch(43.09% 0.158 286.8)
XYZxyz(10.9982, 7.1834, 34.0579)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AA0 #8CA03A
analogous
#3A59A0 #4E3AA0 #813AA0
triadic
#4E3AA0 #A04E3A #3AA04E
tetradic
#4E3AA0 #A03A59 #8CA03A #3AA081
square
#4E3AA0 #A03A59 #8CA03A #3AA081
split-complementary
#4E3AA0 #A0813A #59A03A
monochromatic
#221946 #382A73 #4E3AA0 #6B56C2 #9283D2

Accessibility & contrast

On white

8.62
#4E3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E3AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AA0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AA0#FFFFFF#000000##FFFFFF
##4E3AA01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#305267
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e3aa0;
/* rgb */ color: rgb(78, 58, 160);
/* oklch */ color: oklch(43.1% 0.158 286.8);
Tailwind
colors: {
  custom: {
    50: '#8771bd',
    500: '#4e3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aa0;
$custom-light: #8771bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aa0",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 251.765,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.15753,
    "h": 286.8
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#4E3AA0
secondary
#AFBC7A
accent
#D651BC
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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