#4E3AA9#4E3AA9

#4E3AA9 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.169 H 285.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E3AA9
RGBrgb(78, 58, 169)
HSLhsl(251, 49%, 45%)
HSVhsv(251, 66%, 66%)
CMYKcmyk(53.8%, 65.7%, 0%, 33.7%)
CIE-LABlab(32.94, 38.58, -56.87)
CIE-LCHlch(32.94, 68.72, 304.15°)
OKLaboklab(43.83% 0.0447 -0.1633)
OKLCHoklch(43.83% 0.169 285.3)
XYZxyz(11.8142, 7.5097, 38.3554)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AA9 #95A93A
analogous
#3A5DA9 #4E3AA9 #863AA9
triadic
#4E3AA9 #A94E3A #3AA94E
tetradic
#4E3AA9 #A93A5D #95A93A #3AA986
square
#4E3AA9 #A93A5D #95A93A #3AA986
split-complementary
#4E3AA9 #A9863A #5DA93A
monochromatic
#241B4E #392A7B #4E3AA9 #6D5AC6 #9687D6

Accessibility & contrast

On white

8.39
#4E3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E3AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AA9
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AA9#FFFFFF#000000##FFFFFF
##4E3AA91.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#28566C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3aa9;
/* rgb */ color: rgb(78, 58, 169);
/* oklch */ color: oklch(43.8% 0.169 285.3);
Tailwind
colors: {
  custom: {
    50: '#8871c3',
    500: '#4e3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aa9;
$custom-light: #8871c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aa9",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 250.811,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.16927,
    "h": 285.3
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#4E3AA9
secondary
#B4C07F
accent
#D84FC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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