#4E2EC8#4E2EC8

#4E2EC8 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.220 H 282.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E2EC8
RGBrgb(78, 46, 200)
HSLhsl(252, 63%, 48%)
HSVhsv(252, 77%, 78%)
CMYKcmyk(61%, 77%, 0%, 21.6%)
CIE-LABlab(33.44, 54.31, -74.38)
CIE-LCHlch(33.44, 92.10, 306.13°)
OKLaboklab(45.05% 0.0479 -0.2145)
OKLCHoklch(45.05% 0.22 282.6)
XYZxyz(14.5410, 7.7428, 55.3606)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EC8 #A8C82E
analogous
#2E5BC8 #4E2EC8 #9B2EC8
triadic
#4E2EC8 #C84E2E #2EC84E
tetradic
#4E2EC8 #C82E5B #A8C82E #2EC89B
square
#4E2EC8 #C82E5B #A8C82E #2EC89B
split-complementary
#4E2EC8 #C89B2E #5BC82E
monochromatic
#271764 #3B2396 #4E2EC8 #755AD9 #9E8CE5

Accessibility & contrast

On white

8.24
#4E2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E2EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EC8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EC8#FFFFFF#000000##FFFFFF
##4E2EC81.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e2ec8;
/* rgb */ color: rgb(78, 46, 200);
/* oklch */ color: oklch(45.0% 0.220 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bda',
    500: '#4e2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ec8;
$custom-light: #8e6bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ec8",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 252.468,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.2198,
    "h": 282.6
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#4E2EC8
secondary
#BFCF83
accent
#E642C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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