#4E38CA#4E38CA

#4E38CA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.5% C 0.212 H 281.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4E38CA
RGBrgb(78, 56, 202)
HSLhsl(249, 58%, 51%)
HSVhsv(249, 72%, 79%)
CMYKcmyk(61.4%, 72.3%, 0%, 20.8%)
CIE-LABlab(35.42, 49.83, -72.29)
CIE-LCHlch(35.42, 87.80, 304.58°)
OKLaboklab(46.5% 0.0409 -0.2085)
OKLCHoklch(46.5% 0.212 281.1)
XYZxyz(15.2134, 8.7112, 56.7454)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38CA #B4CA38
analogous
#386BCA #4E38CA #9738CA
triadic
#4E38CA #CA4E38 #38CA4E
tetradic
#4E38CA #CA386B #B4CA38 #38CA97
square
#4E38CA #CA386B #B4CA38 #38CA97
split-complementary
#4E38CA #CA9738 #6BCA38
monochromatic
#281D6B #3B299B #4E38CA #7968D7 #A499E4

Accessibility & contrast

On white

7.66
#4E38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38CA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38CA#FFFFFF#000000##FFFFFF
##4E38CA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e38ca;
/* rgb */ color: rgb(78, 56, 202);
/* oklch */ color: oklch(46.5% 0.212 281.1);
Tailwind
colors: {
  custom: {
    50: '#8e71db',
    500: '#4e38ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e38ca;
$custom-light: #8e71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38ca",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 249.041,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.465,
    "c": 0.21244,
    "h": 281.1
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#4E38CA
secondary
#C6CF8E
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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