#4E38D3#4E38D3

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

Color values

HEX#4E38D3
RGBrgb(78, 56, 211)
HSLhsl(249, 64%, 52%)
HSVhsv(249, 73%, 83%)
CMYKcmyk(63%, 73.5%, 0%, 17.3%)
CIE-LABlab(36.27, 52.54, -76.11)
CIE-LCHlch(36.27, 92.49, 304.62°)
OKLaboklab(47.36% 0.039 -0.2196)
OKLCHoklch(47.36% 0.223 280.1)
XYZxyz(16.3102, 9.1499, 62.5220)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38D3 #BDD338
analogous
#3870D3 #4E38D3 #9B38D3
triadic
#4E38D3 #D34E38 #38D34E
tetradic
#4E38D3 #D33870 #BDD338 #38D39B
square
#4E38D3 #D33870 #BDD338 #38D39B
split-complementary
#4E38D3 #D39B38 #70D338
monochromatic
#271A76 #3825A9 #4E38D3 #7B6ADE #A79CE9

Accessibility & contrast

On white

7.42
#4E38D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E38D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38D3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38D3#FFFFFF#000000##FFFFFF
##4E38D31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e38d3;
/* rgb */ color: rgb(78, 56, 211);
/* oklch */ color: oklch(47.4% 0.223 280.1);
Tailwind
colors: {
  custom: {
    50: '#9072e2',
    500: '#4e38d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e38d3;
$custom-light: #9072e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38d3",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 248.516,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.22307,
    "h": 280.1
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#4E38D3
secondary
#CCD592
accent
#E741CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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