#4E2EC2#4E2EC2

#4E2EC2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.213 H 283.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4E2EC2
RGBrgb(78, 46, 194)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(59.8%, 76.3%, 0%, 23.9%)
CIE-LABlab(32.85, 52.58, -71.85)
CIE-LCHlch(32.85, 89.03, 306.20°)
OKLaboklab(44.46% 0.0495 -0.2071)
OKLCHoklch(44.46% 0.213 283.4)
XYZxyz(13.8535, 7.4678, 51.7399)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EC2 #A2C22E
analogous
#2E58C2 #4E2EC2 #982EC2
triadic
#4E2EC2 #C24E2E #2EC24E
tetradic
#4E2EC2 #C22E58 #A2C22E #2EC298
square
#4E2EC2 #C22E58 #A2C22E #2EC298
split-complementary
#4E2EC2 #C2982E #58C22E
monochromatic
#26175F #3A2291 #4E2EC2 #7256D7 #9B88E3

Accessibility & contrast

On white

8.42
#4E2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E2EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EC2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EC2#FFFFFF#000000##FFFFFF
##4E2EC21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2ec2;
/* rgb */ color: rgb(78, 46, 194);
/* oklch */ color: oklch(44.5% 0.213 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bd6',
    500: '#4e2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ec2;
$custom-light: #8d6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ec2",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 252.973,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.21295,
    "h": 283.4
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#4E2EC2
secondary
#BCCC7F
accent
#E543C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4E2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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