#4E2EA3#4E2EA3

#4E2EA3 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.176 H 288.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2EA3
RGBrgb(78, 46, 163)
HSLhsl(256, 56%, 41%)
HSVhsv(256, 72%, 64%)
CMYKcmyk(52.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.95, 43.55, -58.13)
CIE-LCHlch(29.95, 72.64, 306.84°)
OKLaboklab(41.53% 0.057 -0.167)
OKLCHoklch(41.53% 0.176 288.8)
XYZxyz(10.7278, 6.2175, 35.2781)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EA3 #83A32E
analogous
#2E48A3 #4E2EA3 #882EA3
triadic
#4E2EA3 #A34E2E #2EA34E
tetradic
#4E2EA3 #A32E48 #83A32E #2EA388
square
#4E2EA3 #A32E48 #83A32E #2EA388
split-complementary
#4E2EA3 #A3882E #48A32E
monochromatic
#201344 #372173 #4E2EA3 #6944CA #8F74D8

Accessibility & contrast

On white

9.36
#4E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EA3
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EA3#FFFFFF#000000##FFFFFF
##4E2EA31.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#2F4D65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e2ea3;
/* rgb */ color: rgb(78, 46, 163);
/* oklch */ color: oklch(41.5% 0.176 288.8);
Tailwind
colors: {
  custom: {
    50: '#886abf',
    500: '#4e2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ea3;
$custom-light: #886abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ea3",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 256.41,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.17642,
    "h": 288.8
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#4E2EA3
secondary
#A9BF6D
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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