#4E418E#4E418E

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

Color values

HEX#4E418E
RGBrgb(78, 65, 142)
HSLhsl(250, 37%, 41%)
HSVhsv(250, 54%, 56%)
CMYKcmyk(45.1%, 54.2%, 0%, 44.3%)
CIE-LABlab(32.60, 25.89, -41.06)
CIE-LCHlch(32.60, 48.54, 302.23°)
OKLaboklab(42.95% 0.0376 -0.1168)
OKLCHoklch(42.95% 0.123 287.9)
XYZxyz(9.9133, 7.3529, 26.4829)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E418E #818E41
analogous
#415A8E #4E418E #74418E
triadic
#4E418E #8E4E41 #418E4E
tetradic
#4E418E #8E415A #818E41 #418E74
square
#4E418E #8E415A #818E41 #418E74
split-complementary
#4E418E #8E7441 #5A8E41
monochromatic
#201B3A #372E64 #4E418E #6859B3 #8E83C6

Accessibility & contrast

On white

8.50
#4E418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E418E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E418E#FFFFFF#000000##FFFFFF
##4E418E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#1C4B8C
Tritanopia (blue-blind)
#3B5161
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e418e;
/* rgb */ color: rgb(78, 65, 142);
/* oklch */ color: oklch(43.0% 0.123 287.9);
Tailwind
colors: {
  custom: {
    50: '#8476af',
    500: '#4e418e',
    950: '#000000',
  },
}
SCSS
$custom: #4e418e;
$custom-light: #8476af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e418e",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 250.13,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.12267,
    "h": 287.9
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E418E

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

Preview Lab → · Contrast checker → · Palette generator →

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