#4E39C2#4E39C2

#4E39C2 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.202 H 281.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4E39C2
RGBrgb(78, 57, 194)
HSLhsl(249, 55%, 49%)
HSVhsv(249, 71%, 76%)
CMYKcmyk(59.8%, 70.6%, 0%, 23.9%)
CIE-LABlab(34.88, 46.85, -68.50)
CIE-LCHlch(34.88, 82.99, 304.37°)
OKLaboklab(45.89% 0.0417 -0.1974)
OKLCHoklch(45.89% 0.202 281.9)
XYZxyz(14.3396, 8.4400, 51.9019)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39C2 #ADC239
analogous
#3969C2 #4E39C2 #9339C2
triadic
#4E39C2 #C24E39 #39C24E
tetradic
#4E39C2 #C23969 #ADC239 #39C293
square
#4E39C2 #C23969 #ADC239 #39C293
split-complementary
#4E39C2 #C29339 #69C239
monochromatic
#281D63 #3B2B93 #4E39C2 #7766D2 #A195E0

Accessibility & contrast

On white

7.81
#4E39C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E39C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39C2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39C2#FFFFFF#000000##FFFFFF
##4E39C21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e39c2;
/* rgb */ color: rgb(78, 57, 194);
/* oklch */ color: oklch(45.9% 0.202 281.9);
Tailwind
colors: {
  custom: {
    50: '#8c72d6',
    500: '#4e39c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e39c2;
$custom-light: #8c72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39c2",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 249.197,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.20176,
    "h": 281.9
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#4E39C2
secondary
#C2CB8B
accent
#DE4AC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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