#4E39C1#4E39C1

#4E39C1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.201 H 282.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E39C1
RGBrgb(78, 57, 193)
HSLhsl(249, 54%, 49%)
HSVhsv(249, 70%, 76%)
CMYKcmyk(59.6%, 70.5%, 0%, 24.3%)
CIE-LABlab(34.79, 46.55, -68.06)
CIE-LCHlch(34.79, 82.46, 304.37°)
OKLaboklab(45.8% 0.0419 -0.1961)
OKLCHoklch(45.8% 0.201 282.1)
XYZxyz(14.2277, 8.3952, 51.3124)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39C1 #ACC139
analogous
#3968C1 #4E39C1 #9239C1
triadic
#4E39C1 #C14E39 #39C14E
tetradic
#4E39C1 #C13968 #ACC139 #39C192
square
#4E39C1 #C13968 #ACC139 #39C192
split-complementary
#4E39C1 #C19239 #68C139
monochromatic
#281D63 #3B2B92 #4E39C1 #7666D2 #A095E0

Accessibility & contrast

On white

7.84
#4E39C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E39C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39C1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39C1#FFFFFF#000000##FFFFFF
##4E39C11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e39c1;
/* rgb */ color: rgb(78, 57, 193);
/* oklch */ color: oklch(45.8% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#8c71d5',
    500: '#4e39c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e39c1;
$custom-light: #8c71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39c1",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 249.265,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.20054,
    "h": 282.1
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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