#4E3AAF#4E3AAF

#4E3AAF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.3% C 0.177 H 284.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3AAF
RGBrgb(78, 58, 175)
HSLhsl(250, 50%, 46%)
HSVhsv(250, 67%, 69%)
CMYKcmyk(55.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(33.44, 40.44, -59.65)
CIE-LCHlch(33.44, 72.06, 304.14°)
OKLaboklab(44.35% 0.0439 -0.1714)
OKLCHoklch(44.35% 0.177 284.4)
XYZxyz(12.3905, 7.7402, 41.3902)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AAF #9BAF3A
analogous
#3A61AF #4E3AAF #883AAF
triadic
#4E3AAF #AF4E3A #3AAF4E
tetradic
#4E3AAF #AF3A61 #9BAF3A #3AAF88
square
#4E3AAF #AF3A61 #9BAF3A #3AAF88
split-complementary
#4E3AAF #AF883A #61AF3A
monochromatic
#251C53 #3A2B81 #4E3AAF #6F5DC9 #988BD9

Accessibility & contrast

On white

8.24
#4E3AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E3AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AAF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AAF#FFFFFF#000000##FFFFFF
##4E3AAF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#22586F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3aaf;
/* rgb */ color: rgb(78, 58, 175);
/* oklch */ color: oklch(44.3% 0.177 284.4);
Tailwind
colors: {
  custom: {
    50: '#8972c8',
    500: '#4e3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e3aaf;
$custom-light: #8972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3aaf",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 250.256,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.17696,
    "h": 284.4
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#4E3AAF
secondary
#B8C382
accent
#DA4EC2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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