#4E32E2#4E32E2

#4E32E2 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 48.1% C 0.246 H 279.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E32E2
RGBrgb(78, 50, 226)
HSLhsl(250, 75%, 54%)
HSVhsv(250, 78%, 89%)
CMYKcmyk(65.5%, 77.9%, 0%, 11.4%)
CIE-LABlab(36.73, 59.90, -83.98)
CIE-LCHlch(36.73, 103.15, 305.50°)
OKLaboklab(48.12% 0.0387 -0.2425)
OKLCHoklch(48.12% 0.246 279.1)
XYZxyz(18.0056, 9.3904, 72.8004)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32E2 #C6E232
analogous
#326EE2 #4E32E2 #A632E2
triadic
#4E32E2 #E24E32 #32E24E
tetradic
#4E32E2 #E2326E #C6E232 #32E2A6
square
#4E32E2 #E2326E #C6E232 #32E2A6
split-complementary
#4E32E2 #E2A632 #6EE232
monochromatic
#251387 #341BBC #4E32E2 #7C68EA #AB9DF1

Accessibility & contrast

On white

7.30
#4E32E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E32E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32E2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32E2#FFFFFF#000000##FFFFFF
##4E32E21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e32e2;
/* rgb */ color: rgb(78, 50, 226);
/* oklch */ color: oklch(48.1% 0.246 279.1);
Tailwind
colors: {
  custom: {
    50: '#936fed',
    500: '#4e32e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e32e2;
$custom-light: #936fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32e2",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 226
  },
  "hsl": {
    "h": 249.545,
    "s": 75.214,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.24558,
    "h": 279.1
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#4E32E2
secondary
#D1DD92
accent
#F236D4
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #4E32E2

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

Preview Lab → · Contrast checker → · Palette generator →

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