#4E3AD1#4E3AD1

#4E3AD1 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.4% C 0.219 H 280.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4E3AD1
RGBrgb(78, 58, 209)
HSLhsl(248, 62%, 52%)
HSVhsv(248, 72%, 82%)
CMYKcmyk(62.7%, 72.2%, 0%, 18%)
CIE-LABlab(36.46, 50.88, -74.65)
CIE-LCHlch(36.46, 90.34, 304.28°)
OKLaboklab(47.43% 0.0381 -0.2154)
OKLCHoklch(47.43% 0.219 280)
XYZxyz(16.1599, 9.2480, 61.2427)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AD1 #BDD13A
analogous
#3A72D1 #4E3AD1 #9A3AD1
triadic
#4E3AD1 #D14E3A #3AD14E
tetradic
#4E3AD1 #D13A72 #BDD13A #3AD19A
square
#4E3AD1 #D13A72 #BDD13A #3AD19A
split-complementary
#4E3AD1 #D19A3A #72D13A
monochromatic
#271B75 #3827A7 #4E3AD1 #7B6CDD #A79DE8

Accessibility & contrast

On white

7.37
#4E3AD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E3AD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AD1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AD1#FFFFFF#000000##FFFFFF
##4E3AD11.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0050CE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e3ad1;
/* rgb */ color: rgb(78, 58, 209);
/* oklch */ color: oklch(47.4% 0.219 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f73e0',
    500: '#4e3ad1',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ad1;
$custom-light: #8f73e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ad1",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 209
  },
  "hsl": {
    "h": 247.947,
    "s": 62.14,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.21872,
    "h": 280
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#4E3AD1
secondary
#CCD493
accent
#E543D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E3AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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