#4E39D9#4E39D9

#4E39D9 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.1% C 0.229 H 279.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E39D9
RGBrgb(78, 57, 217)
HSLhsl(248, 68%, 54%)
HSVhsv(248, 74%, 85%)
CMYKcmyk(64.1%, 73.7%, 0%, 14.9%)
CIE-LABlab(37.03, 53.83, -78.32)
CIE-LCHlch(37.03, 95.03, 304.50°)
OKLaboklab(48.07% 0.037 -0.2261)
OKLCHoklch(48.07% 0.229 279.3)
XYZxyz(17.1254, 9.5543, 66.5739)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39D9 #C4D939
analogous
#3974D9 #4E39D9 #9E39D9
triadic
#4E39D9 #D94E39 #39D94E
tetradic
#4E39D9 #D93974 #C4D939 #39D99E
square
#4E39D9 #D93974 #C4D939 #39D99E
split-complementary
#4E39D9 #D99E39 #74D939
monochromatic
#26187F #3522B3 #4E39D9 #7C6CE3 #AAA0ED

Accessibility & contrast

On white

7.21
#4E39D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E39D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39D9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39D9#FFFFFF#000000##FFFFFF
##4E39D91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#0051D6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e39d9;
/* rgb */ color: rgb(78, 57, 217);
/* oklch */ color: oklch(48.1% 0.229 279.3);
Tailwind
colors: {
  custom: {
    50: '#9172e6',
    500: '#4e39d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e39d9;
$custom-light: #9172e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39d9",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 247.875,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.2291,
    "h": 279.3
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#4E39D9
secondary
#D0D995
accent
#EB3DD4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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