#4E38C1#4E38C1

#4E38C1 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.202 H 282.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E38C1
RGBrgb(78, 56, 193)
HSLhsl(250, 55%, 49%)
HSVhsv(250, 71%, 76%)
CMYKcmyk(59.6%, 71%, 0%, 24.3%)
CIE-LABlab(34.59, 47.10, -68.39)
CIE-LCHlch(34.59, 83.04, 304.55°)
OKLaboklab(45.66% 0.0427 -0.1971)
OKLCHoklch(45.66% 0.202 282.2)
XYZxyz(14.1787, 8.2973, 51.2961)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38C1 #ABC138
analogous
#3867C1 #4E38C1 #9338C1
triadic
#4E38C1 #C14E38 #38C14E
tetradic
#4E38C1 #C13867 #ABC138 #38C193
square
#4E38C1 #C13867 #ABC138 #38C193
split-complementary
#4E38C1 #C19338 #67C138
monochromatic
#281C62 #3B2A92 #4E38C1 #7664D2 #A094E0

Accessibility & contrast

On white

7.90
#4E38C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E38C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E38C1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38C1#FFFFFF#000000##FFFFFF
##4E38C11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e38c1;
/* rgb */ color: rgb(78, 56, 193);
/* oklch */ color: oklch(45.7% 0.202 282.2);
Tailwind
colors: {
  custom: {
    50: '#8c71d5',
    500: '#4e38c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e38c1;
$custom-light: #8c71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38c1",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 249.635,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.20162,
    "h": 282.2
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#4E38C1
secondary
#C1CB8A
accent
#DE49C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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