#4E38C9#4E38C9

#4E38C9 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.211 H 281.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E38C9
RGBrgb(78, 56, 201)
HSLhsl(249, 57%, 50%)
HSVhsv(249, 72%, 79%)
CMYKcmyk(61.2%, 72.1%, 0%, 21.2%)
CIE-LABlab(35.33, 49.53, -71.86)
CIE-LCHlch(35.33, 87.27, 304.57°)
OKLaboklab(46.41% 0.0411 -0.2072)
OKLCHoklch(46.41% 0.211 281.2)
XYZxyz(15.0954, 8.6640, 56.1239)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38C9 #B3C938
analogous
#386BC9 #4E38C9 #9638C9
triadic
#4E38C9 #C94E38 #38C94E
tetradic
#4E38C9 #C9386B #B3C938 #38C996
square
#4E38C9 #C9386B #B3C938 #38C996
split-complementary
#4E38C9 #C99638 #6BC938
monochromatic
#281D6A #3B2A9A #4E38C9 #7968D6 #A498E3

Accessibility & contrast

On white

7.68
#4E38C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E38C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38C9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38C9#FFFFFF#000000##FFFFFF
##4E38C91.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e38c9;
/* rgb */ color: rgb(78, 56, 201);
/* oklch */ color: oklch(46.4% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e71db',
    500: '#4e38c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e38c9;
$custom-light: #8e71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38c9",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 249.103,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.21125,
    "h": 281.2
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#4E38C9
secondary
#C5CF8E
accent
#E147C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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