#4E1EA8#4E1EA8

#4E1EA8 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.198 H 290.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E1EA8
RGBrgb(78, 30, 168)
HSLhsl(261, 70%, 39%)
HSVhsv(261, 82%, 66%)
CMYKcmyk(53.6%, 82.1%, 0%, 34.1%)
CIE-LABlab(27.78, 52.52, -64.73)
CIE-LCHlch(27.78, 83.36, 309.06°)
OKLaboklab(40.15% 0.0679 -0.1861)
OKLCHoklch(40.15% 0.198 290)
XYZxyz(10.6720, 5.3749, 37.5133)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1EA8 #78A81E
analogous
#1E33A8 #4E1EA8 #931EA8
triadic
#4E1EA8 #A84E1E #1EA84E
tetradic
#4E1EA8 #A81E33 #78A81E #1EA893
square
#4E1EA8 #A81E33 #78A81E #1EA893
split-complementary
#4E1EA8 #A8931E #33A81E
monochromatic
#1E0B40 #361574 #4E1EA8 #672AD9 #8C5EE2

Accessibility & contrast

On white

10.12
#4E1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1EA8
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1EA8#FFFFFF#000000##FFFFFF
##4E1EA81.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#2B4864
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e1ea8;
/* rgb */ color: rgb(78, 30, 168);
/* oklch */ color: oklch(40.2% 0.198 290.0);
Tailwind
colors: {
  custom: {
    50: '#8a61c3',
    500: '#4e1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #4e1ea8;
$custom-light: #8a61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1ea8",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 260.87,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.19813,
    "h": 290
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#4E1EA8
secondary
#A1C75B
accent
#ED3BAF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4E1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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