#4E418D#4E418D

#4E418D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 42.9% C 0.121 H 288.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E418D
RGBrgb(78, 65, 141)
HSLhsl(250, 37%, 40%)
HSVhsv(250, 54%, 55%)
CMYKcmyk(44.7%, 53.9%, 0%, 44.7%)
CIE-LABlab(32.53, 25.58, -40.55)
CIE-LCHlch(32.53, 47.94, 302.25°)
OKLaboklab(42.88% 0.0376 -0.1153)
OKLCHoklch(42.88% 0.121 288)
XYZxyz(9.8385, 7.3230, 26.0892)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E418D #808D41
analogous
#415A8D #4E418D #74418D
triadic
#4E418D #8D4E41 #418D4E
tetradic
#4E418D #8D415A #808D41 #418D74
square
#4E418D #8D415A #808D41 #418D74
split-complementary
#4E418D #8D7441 #5A8D41
monochromatic
#201A39 #372E63 #4E418D #6859B2 #8E83C6

Accessibility & contrast

On white

8.52
#4E418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E418D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E418D#FFFFFF#000000##FFFFFF
##4E418D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#1E4B8B
Tritanopia (blue-blind)
#3B5160
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e418d;
/* rgb */ color: rgb(78, 65, 141);
/* oklch */ color: oklch(42.9% 0.121 288.0);
Tailwind
colors: {
  custom: {
    50: '#8476af',
    500: '#4e418d',
    950: '#000000',
  },
}
SCSS
$custom: #4e418d;
$custom-light: #8476af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e418d",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 250.263,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.12122,
    "h": 288
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#4E418D
secondary
#A7B079
accent
#CD5BB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E418D

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

Preview Lab → · Contrast checker → · Palette generator →

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