#4E2EC3#4E2EC3

#4E2EC3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.214 H 283.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E2EC3
RGBrgb(78, 46, 195)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(60%, 76.4%, 0%, 23.5%)
CIE-LABlab(32.95, 52.87, -72.27)
CIE-LCHlch(32.95, 89.54, 306.19°)
OKLaboklab(44.55% 0.0493 -0.2083)
OKLCHoklch(44.55% 0.214 283.3)
XYZxyz(13.9662, 7.5129, 52.3334)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EC3 #A3C32E
analogous
#2E58C3 #4E2EC3 #992EC3
triadic
#4E2EC3 #C34E2E #2EC34E
tetradic
#4E2EC3 #C32E58 #A3C32E #2EC399
square
#4E2EC3 #C32E58 #A3C32E #2EC399
split-complementary
#4E2EC3 #C3992E #58C32E
monochromatic
#261760 #3A2291 #4E2EC3 #7257D7 #9C88E3

Accessibility & contrast

On white

8.39
#4E2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EC3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EC3#FFFFFF#000000##FFFFFF
##4E2EC31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e2ec3;
/* rgb */ color: rgb(78, 46, 195);
/* oklch */ color: oklch(44.6% 0.214 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d6bd6',
    500: '#4e2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ec3;
$custom-light: #8d6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ec3",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 252.886,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.21409,
    "h": 283.3
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#4E2EC3
secondary
#BCCD80
accent
#E543C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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