#4E1EA1#4E1EA1

#4E1EA1 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.191 H 291.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4E1EA1
RGBrgb(78, 30, 161)
HSLhsl(262, 69%, 37%)
HSVhsv(262, 81%, 63%)
CMYKcmyk(51.6%, 81.4%, 0%, 36.9%)
CIE-LABlab(27.08, 50.66, -61.64)
CIE-LCHlch(27.08, 79.79, 309.41°)
OKLaboklab(39.46% 0.0703 -0.1771)
OKLCHoklch(39.46% 0.191 291.6)
XYZxyz(10.0374, 5.1211, 34.1709)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1EA1 #71A11E
analogous
#1E2FA1 #4E1EA1 #901EA1
triadic
#4E1EA1 #A14E1E #1EA14E
tetradic
#4E1EA1 #A11E2F #71A11E #1EA190
square
#4E1EA1 #A11E2F #71A11E #1EA190
split-complementary
#4E1EA1 #A1901E #2FA11E
monochromatic
#1C0B3A #35146D #4E1EA1 #6728D5 #8B59E0

Accessibility & contrast

On white

10.37
#4E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1EA1
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1EA1#FFFFFF#000000##FFFFFF
##4E1EA11.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#314560
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e1ea1;
/* rgb */ color: rgb(78, 30, 161);
/* oklch */ color: oklch(39.5% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#8961be',
    500: '#4e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4e1ea1;
$custom-light: #8961be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1ea1",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 261.985,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.19055,
    "h": 291.6
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#4E1EA1
secondary
#9CC457
accent
#EB3CAB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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