#4E39C0#4E39C0

#4E39C0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.7% C 0.199 H 282.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E39C0
RGBrgb(78, 57, 192)
HSLhsl(249, 54%, 49%)
HSVhsv(249, 70%, 75%)
CMYKcmyk(59.4%, 70.3%, 0%, 24.7%)
CIE-LABlab(34.70, 46.24, -67.63)
CIE-LCHlch(34.70, 81.92, 304.36°)
OKLaboklab(45.71% 0.0421 -0.1948)
OKLCHoklch(45.71% 0.199 282.2)
XYZxyz(14.1165, 8.3508, 50.7269)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39C0 #ABC039
analogous
#3968C0 #4E39C0 #9239C0
triadic
#4E39C0 #C04E39 #39C04E
tetradic
#4E39C0 #C03968 #ABC039 #39C092
square
#4E39C0 #C03968 #ABC039 #39C092
split-complementary
#4E39C0 #C09239 #68C039
monochromatic
#281D62 #3B2B91 #4E39C0 #7665D1 #A094DF

Accessibility & contrast

On white

7.86
#4E39C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E39C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39C0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39C0#FFFFFF#000000##FFFFFF
##4E39C01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e39c0;
/* rgb */ color: rgb(78, 57, 192);
/* oklch */ color: oklch(45.7% 0.199 282.2);
Tailwind
colors: {
  custom: {
    50: '#8c71d4',
    500: '#4e39c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e39c0;
$custom-light: #8c71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39c0",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 249.333,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.19932,
    "h": 282.2
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#4E39C0
secondary
#C1CB8A
accent
#DE4AC7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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