#4E39C5#4E39C5

#4E39C5 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.205 H 281.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4E39C5
RGBrgb(78, 57, 197)
HSLhsl(249, 55%, 50%)
HSVhsv(249, 71%, 77%)
CMYKcmyk(60.4%, 71.1%, 0%, 22.7%)
CIE-LABlab(35.16, 47.77, -69.81)
CIE-LCHlch(35.16, 84.59, 304.38°)
OKLaboklab(46.17% 0.0411 -0.2012)
OKLCHoklch(46.17% 0.205 281.6)
XYZxyz(14.6799, 8.5761, 53.6943)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39C5 #B0C539
analogous
#396AC5 #4E39C5 #9439C5
triadic
#4E39C5 #C54E39 #39C54E
tetradic
#4E39C5 #C5396A #B0C539 #39C594
square
#4E39C5 #C5396A #B0C539 #39C594
split-complementary
#4E39C5 #C59439 #6AC539
monochromatic
#281E66 #3B2B96 #4E39C5 #7868D3 #A297E1

Accessibility & contrast

On white

7.73
#4E39C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E39C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39C5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39C5#FFFFFF#000000##FFFFFF
##4E39C51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e39c5;
/* rgb */ color: rgb(78, 57, 197);
/* oklch */ color: oklch(46.2% 0.205 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d72d8',
    500: '#4e39c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e39c5;
$custom-light: #8d72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39c5",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 249,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.20539,
    "h": 281.6
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#4E39C5
secondary
#C3CD8D
accent
#DE49C8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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