#4E36C7#4E36C7

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

Color values

HEX#4E36C7
RGBrgb(78, 54, 199)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(60.8%, 72.9%, 0%, 22%)
CIE-LABlab(34.76, 49.99, -71.62)
CIE-LCHlch(34.76, 87.34, 304.91°)
OKLaboklab(45.95% 0.0429 -0.2065)
OKLCHoklch(45.95% 0.211 281.7)
XYZxyz(14.7666, 8.3805, 54.8612)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36C7 #AFC736
analogous
#3667C7 #4E36C7 #9736C7
triadic
#4E36C7 #C74E36 #36C74E
tetradic
#4E36C7 #C73667 #AFC736 #36C797
square
#4E36C7 #C73667 #AFC736 #36C797
split-complementary
#4E36C7 #C79736 #67C736
monochromatic
#281C67 #3B2997 #4E36C7 #7865D5 #A295E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E36C7#FFFFFF#000000##FFFFFF
##4E36C71.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)
#0057CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e36c7;
/* rgb */ color: rgb(78, 54, 199);
/* oklch */ color: oklch(45.9% 0.211 281.7);
Tailwind
colors: {
  custom: {
    50: '#8e70d9',
    500: '#4e36c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e36c7;
$custom-light: #8e70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36c7",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 249.931,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.21093,
    "h": 281.7
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#4E36C7
secondary
#C3CE8B
accent
#E147C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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