#4E3AA7#4E3AA7

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

Color values

HEX#4E3AA7
RGBrgb(78, 58, 167)
HSLhsl(251, 48%, 44%)
HSVhsv(251, 65%, 65%)
CMYKcmyk(53.3%, 65.3%, 0%, 34.5%)
CIE-LABlab(32.78, 37.96, -55.93)
CIE-LCHlch(32.78, 67.60, 304.17°)
OKLaboklab(43.67% 0.0449 -0.1605)
OKLCHoklch(43.67% 0.167 285.6)
XYZxyz(11.6279, 7.4352, 37.3742)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AA7 #93A73A
analogous
#3A5DA7 #4E3AA7 #853AA7
triadic
#4E3AA7 #A74E3A #3AA74E
tetradic
#4E3AA7 #A73A5D #93A73A #3AA785
square
#4E3AA7 #A73A5D #93A73A #3AA785
split-complementary
#4E3AA7 #A7853A #5DA73A
monochromatic
#241A4C #392A7A #4E3AA7 #6D59C5 #9586D5

Accessibility & contrast

On white

8.44
#4E3AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E3AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AA7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AA7#FFFFFF#000000##FFFFFF
##4E3AA71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#2A556B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3aa7;
/* rgb */ color: rgb(78, 58, 167);
/* oklch */ color: oklch(43.7% 0.167 285.6);
Tailwind
colors: {
  custom: {
    50: '#8871c2',
    500: '#4e3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aa7;
$custom-light: #8871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aa7",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 251.009,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.16669,
    "h": 285.6
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#4E3AA7
secondary
#B3BF7E
accent
#D850BF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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