#4E2EC7#4E2EC7

#4E2EC7 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.219 H 282.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4E2EC7
RGBrgb(78, 46, 199)
HSLhsl(253, 62%, 48%)
HSVhsv(253, 77%, 78%)
CMYKcmyk(60.8%, 76.9%, 0%, 22%)
CIE-LABlab(33.34, 54.02, -73.96)
CIE-LCHlch(33.34, 91.59, 306.14°)
OKLaboklab(44.95% 0.0482 -0.2133)
OKLCHoklch(44.95% 0.219 282.7)
XYZxyz(14.4245, 7.6962, 54.7472)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EC7 #A7C72E
analogous
#2E5AC7 #4E2EC7 #9A2EC7
triadic
#4E2EC7 #C74E2E #2EC74E
tetradic
#4E2EC7 #C72E5A #A7C72E #2EC79A
square
#4E2EC7 #C72E5A #A7C72E #2EC79A
split-complementary
#4E2EC7 #C79A2E #5AC72E
monochromatic
#271764 #3B2395 #4E2EC7 #7459D9 #9E8BE4

Accessibility & contrast

On white

8.27
#4E2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EC7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EC7#FFFFFF#000000##FFFFFF
##4E2EC71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e2ec7;
/* rgb */ color: rgb(78, 46, 199);
/* oklch */ color: oklch(44.9% 0.219 282.7);
Tailwind
colors: {
  custom: {
    50: '#8e6bd9',
    500: '#4e2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ec7;
$custom-light: #8e6bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ec7",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 252.549,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.21866,
    "h": 282.7
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#4E2EC7
secondary
#BECE83
accent
#E642C3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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