#4E37C6#4E37C6

#4E37C6 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.209 H 281.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E37C6
RGBrgb(78, 55, 198)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 72%, 78%)
CMYKcmyk(60.6%, 72.2%, 0%, 22.4%)
CIE-LABlab(34.86, 49.15, -70.88)
CIE-LCHlch(34.86, 86.26, 304.74°)
OKLaboklab(45.99% 0.0424 -0.2043)
OKLCHoklch(45.99% 0.209 281.7)
XYZxyz(14.6979, 8.4283, 54.2674)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37C6 #AFC637
analogous
#3768C6 #4E37C6 #9537C6
triadic
#4E37C6 #C64E37 #37C64E
tetradic
#4E37C6 #C63768 #AFC637 #37C695
square
#4E37C6 #C63768 #AFC637 #37C695
split-complementary
#4E37C6 #C69537 #68C637
monochromatic
#281C66 #3B2A96 #4E37C6 #7866D4 #A296E2

Accessibility & contrast

On white

7.82
#4E37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37C6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37C6#FFFFFF#000000##FFFFFF
##4E37C61.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e37c6;
/* rgb */ color: rgb(78, 55, 198);
/* oklch */ color: oklch(46.0% 0.209 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d70d8',
    500: '#4e37c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e37c6;
$custom-light: #8d70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37c6",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 249.65,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.2087,
    "h": 281.7
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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