#4E37C5#4E37C5

#4E37C5 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.208 H 281.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4E37C5
RGBrgb(78, 55, 197)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 77%)
CMYKcmyk(60.4%, 72.1%, 0%, 22.7%)
CIE-LABlab(34.77, 48.85, -70.45)
CIE-LCHlch(34.77, 85.73, 304.74°)
OKLaboklab(45.89% 0.0426 -0.2031)
OKLCHoklch(45.89% 0.208 281.8)
XYZxyz(14.5830, 8.3823, 53.6620)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37C5 #AEC537
analogous
#3767C5 #4E37C5 #9537C5
triadic
#4E37C5 #C54E37 #37C54E
tetradic
#4E37C5 #C53767 #AEC537 #37C595
square
#4E37C5 #C53767 #AEC537 #37C595
split-complementary
#4E37C5 #C59537 #67C537
monochromatic
#281C65 #3B2A95 #4E37C5 #7765D4 #A195E1

Accessibility & contrast

On white

7.85
#4E37C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E37C5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37C5#FFFFFF#000000##FFFFFF
##4E37C51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e37c5;
/* rgb */ color: rgb(78, 55, 197);
/* oklch */ color: oklch(45.9% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#8d70d8',
    500: '#4e37c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e37c5;
$custom-light: #8d70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37c5",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 249.718,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.20751,
    "h": 281.8
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#4E37C5
secondary
#C2CD8B
accent
#E048C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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