#4E36C9#4E36C9

#4E36C9 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.213 H 281.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4E36C9
RGBrgb(78, 54, 201)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 73%, 79%)
CMYKcmyk(61.2%, 73.1%, 0%, 21.2%)
CIE-LABlab(34.95, 50.59, -72.48)
CIE-LCHlch(34.95, 88.39, 304.91°)
OKLaboklab(46.14% 0.0425 -0.209)
OKLCHoklch(46.14% 0.213 281.5)
XYZxyz(15.0004, 8.4740, 56.0922)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36C9 #B1C936
analogous
#3667C9 #4E36C9 #9836C9
triadic
#4E36C9 #C94E36 #36C94E
tetradic
#4E36C9 #C93667 #B1C936 #36C998
square
#4E36C9 #C93667 #B1C936 #36C998
split-complementary
#4E36C9 #C99836 #67C936
monochromatic
#291C69 #3B2999 #4E36C9 #7866D6 #A396E3

Accessibility & contrast

On white

7.79
#4E36C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E36C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36C9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36C9#FFFFFF#000000##FFFFFF
##4E36C91.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e36c9;
/* rgb */ color: rgb(78, 54, 201);
/* oklch */ color: oklch(46.1% 0.213 281.5);
Tailwind
colors: {
  custom: {
    50: '#8e70db',
    500: '#4e36c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e36c9;
$custom-light: #8e70db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36c9",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 249.796,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.21329,
    "h": 281.5
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#4E36C9
secondary
#C4CE8C
accent
#E147C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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