#4E3FAD#4E3FAD

#4E3FAD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.168 H 283.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3FAD
RGBrgb(78, 63, 173)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 68%)
CMYKcmyk(54.9%, 63.6%, 0%, 32.2%)
CIE-LABlab(34.38, 36.85, -56.92)
CIE-LCHlch(34.38, 67.81, 302.92°)
OKLaboklab(44.98% 0.0393 -0.1634)
OKLCHoklch(44.98% 0.168 283.5)
XYZxyz(12.4599, 8.1911, 40.4515)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FAD #9EAD3F
analogous
#3F67AD #4E3FAD #853FAD
triadic
#4E3FAD #AD4E3F #3FAD4E
tetradic
#4E3FAD #AD3F67 #9EAD3F #3FAD85
square
#4E3FAD #AD3F67 #9EAD3F #3FAD85
split-complementary
#4E3FAD #AD853F #67AD3F
monochromatic
#261E53 #3A2F80 #4E3FAD #7163C6 #9A90D7

Accessibility & contrast

On white

7.96
#4E3FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E3FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FAD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FAD#FFFFFF#000000##FFFFFF
##4E3FAD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#235A70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3fad;
/* rgb */ color: rgb(78, 63, 173);
/* oklch */ color: oklch(45.0% 0.168 283.5);
Tailwind
colors: {
  custom: {
    50: '#8875c6',
    500: '#4e3fad',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fad;
$custom-light: #8875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fad",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 173
  },
  "hsl": {
    "h": 248.182,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.16807,
    "h": 283.5
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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