#4E418F#4E418F

#4E418F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.0% C 0.124 H 287.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E418F
RGBrgb(78, 65, 143)
HSLhsl(250, 38%, 41%)
HSVhsv(250, 55%, 56%)
CMYKcmyk(45.5%, 54.5%, 0%, 43.9%)
CIE-LABlab(32.66, 26.20, -41.56)
CIE-LCHlch(32.66, 49.13, 302.22°)
OKLaboklab(43.02% 0.0377 -0.1182)
OKLCHoklch(43.02% 0.124 287.7)
XYZxyz(9.9887, 7.3831, 26.8801)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E418F #828F41
analogous
#415B8F #4E418F #75418F
triadic
#4E418F #8F4E41 #418F4E
tetradic
#4E418F #8F415B #828F41 #418F75
square
#4E418F #8F415B #828F41 #418F75
split-complementary
#4E418F #8F7541 #5B8F41
monochromatic
#201B3B #372E65 #4E418F #6859B4 #8F84C7

Accessibility & contrast

On white

8.48
#4E418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E418F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E418F#FFFFFF#000000##FFFFFF
##4E418F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#3A5261
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e418f;
/* rgb */ color: rgb(78, 65, 143);
/* oklch */ color: oklch(43.0% 0.124 287.7);
Tailwind
colors: {
  custom: {
    50: '#8476b0',
    500: '#4e418f',
    950: '#000000',
  },
}
SCSS
$custom: #4e418f;
$custom-light: #8476b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e418f",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 250,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.12409,
    "h": 287.7
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#4E418F
secondary
#A8B17A
accent
#CD5ABA
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E418F

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

Preview Lab → · Contrast checker → · Palette generator →

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