#4E38C3#4E38C3

#4E38C3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.204 H 282.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E38C3
RGBrgb(78, 56, 195)
HSLhsl(249, 55%, 49%)
HSVhsv(249, 71%, 76%)
CMYKcmyk(60%, 71.3%, 0%, 23.5%)
CIE-LABlab(34.78, 47.71, -69.26)
CIE-LCHlch(34.78, 84.10, 304.56°)
OKLaboklab(45.85% 0.0423 -0.1996)
OKLCHoklch(45.85% 0.204 282)
XYZxyz(14.4033, 8.3872, 52.4791)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38C3 #ADC338
analogous
#3868C3 #4E38C3 #9338C3
triadic
#4E38C3 #C34E38 #38C34E
tetradic
#4E38C3 #C33868 #ADC338 #38C393
square
#4E38C3 #C33868 #ADC338 #38C393
split-complementary
#4E38C3 #C39338 #68C338
monochromatic
#281D64 #3B2A93 #4E38C3 #7765D3 #A195E1

Accessibility & contrast

On white

7.84
#4E38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E38C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38C3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38C3#FFFFFF#000000##FFFFFF
##4E38C31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e38c3;
/* rgb */ color: rgb(78, 56, 195);
/* oklch */ color: oklch(45.8% 0.204 282.0);
Tailwind
colors: {
  custom: {
    50: '#8d71d6',
    500: '#4e38c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e38c3;
$custom-light: #8d71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38c3",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 249.496,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.20405,
    "h": 282
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#4E38C3
secondary
#C2CC8B
accent
#DF49C7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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