#4E3EAE#4E3EAE

#4E3EAE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.171 H 283.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4E3EAE
RGBrgb(78, 62, 174)
HSLhsl(249, 47%, 46%)
HSVhsv(249, 64%, 68%)
CMYKcmyk(55.2%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.23, 37.77, -57.75)
CIE-LCHlch(34.23, 69.00, 303.18°)
OKLaboklab(44.9% 0.0402 -0.1659)
OKLCHoklch(44.9% 0.171 283.6)
XYZxyz(12.5022, 8.1202, 40.9448)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EAE #9EAE3E
analogous
#3E66AE #4E3EAE #863EAE
triadic
#4E3EAE #AE4E3E #3EAE4E
tetradic
#4E3EAE #AE3E66 #9EAE3E #3EAE86
square
#4E3EAE #AE3E66 #9EAE3E #3EAE86
split-complementary
#4E3EAE #AE863E #66AE3E
monochromatic
#261E54 #3A2E81 #4E3EAE #7162C7 #9A8FD7

Accessibility & contrast

On white

8.00
#4E3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EAE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EAE#FFFFFF#000000##FFFFFF
##4E3EAE1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#225A70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3eae;
/* rgb */ color: rgb(78, 62, 174);
/* oklch */ color: oklch(44.9% 0.171 283.6);
Tailwind
colors: {
  custom: {
    50: '#8974c7',
    500: '#4e3eae',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eae;
$custom-light: #8974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eae",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 248.571,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.17067,
    "h": 283.6
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#4E3EAE
secondary
#BAC286
accent
#D751C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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