#4E39C4#4E39C4

#4E39C4 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.204 H 281.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E39C4
RGBrgb(78, 57, 196)
HSLhsl(249, 55%, 50%)
HSVhsv(249, 71%, 77%)
CMYKcmyk(60.2%, 70.9%, 0%, 23.1%)
CIE-LABlab(35.06, 47.46, -69.38)
CIE-LCHlch(35.06, 84.06, 304.38°)
OKLaboklab(46.08% 0.0413 -0.2)
OKLCHoklch(46.08% 0.204 281.7)
XYZxyz(14.5657, 8.5305, 53.0928)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39C4 #AFC439
analogous
#3969C4 #4E39C4 #9439C4
triadic
#4E39C4 #C44E39 #39C44E
tetradic
#4E39C4 #C43969 #AFC439 #39C494
square
#4E39C4 #C43969 #AFC439 #39C494
split-complementary
#4E39C4 #C49439 #69C439
monochromatic
#281D65 #3B2B95 #4E39C4 #7867D3 #A297E1

Accessibility & contrast

On white

7.76
#4E39C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E39C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39C4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39C4#FFFFFF#000000##FFFFFF
##4E39C41.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e39c4;
/* rgb */ color: rgb(78, 57, 196);
/* oklch */ color: oklch(46.1% 0.204 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d72d7',
    500: '#4e39c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e39c4;
$custom-light: #8d72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39c4",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 249.065,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.20419,
    "h": 281.7
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#4E39C4
secondary
#C3CC8D
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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