#4E1EA6#4E1EA6

#4E1EA6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.196 H 290.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4E1EA6
RGBrgb(78, 30, 166)
HSLhsl(261, 69%, 38%)
HSVhsv(261, 82%, 65%)
CMYKcmyk(53%, 81.9%, 0%, 34.9%)
CIE-LABlab(27.58, 51.99, -63.85)
CIE-LCHlch(27.58, 82.34, 309.15°)
OKLaboklab(39.95% 0.0686 -0.1836)
OKLCHoklch(39.95% 0.196 290.5)
XYZxyz(10.4871, 5.3010, 36.5396)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1EA6 #76A61E
analogous
#1E32A6 #4E1EA6 #921EA6
triadic
#4E1EA6 #A64E1E #1EA64E
tetradic
#4E1EA6 #A61E32 #76A61E #1EA692
square
#4E1EA6 #A61E32 #76A61E #1EA692
split-complementary
#4E1EA6 #A6921E #32A61E
monochromatic
#1D0B3E #361572 #4E1EA6 #6729D8 #8C5DE2

Accessibility & contrast

On white

10.19
#4E1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1EA6
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1EA6#FFFFFF#000000##FFFFFF
##4E1EA61.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#2D4763
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e1ea6;
/* rgb */ color: rgb(78, 30, 166);
/* oklch */ color: oklch(40.0% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#8a61c2',
    500: '#4e1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #4e1ea6;
$custom-light: #8a61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1ea6",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 261.176,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3995,
    "c": 0.19597,
    "h": 290.5
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#4E1EA6
secondary
#A0C65A
accent
#EC3CAE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #4E1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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