#4E417D#4E417D

#4E417D is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.8% C 0.098 H 291.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4E417D
RGBrgb(78, 65, 125)
HSLhsl(253, 32%, 37%)
HSVhsv(253, 48%, 49%)
CMYKcmyk(37.6%, 48%, 0%, 51%)
CIE-LABlab(31.53, 20.73, -32.24)
CIE-LCHlch(31.53, 38.33, 302.75°)
OKLaboklab(41.81% 0.0359 -0.0909)
OKLCHoklch(41.81% 0.098 291.6)
XYZxyz(8.7329, 6.8808, 20.2661)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E417D #707D41
analogous
#41527D #4E417D #6C417D
triadic
#4E417D #7D4E41 #417D4E
tetradic
#4E417D #7D4152 #707D41 #417D6C
square
#4E417D #7D4152 #707D41 #417D6C
split-complementary
#4E417D #7D6C41 #527D41
monochromatic
#1C172C #352C55 #4E417D #6756A5 #8B7DBB

Accessibility & contrast

On white

8.84
#4E417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E417D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E417D#FFFFFF#000000##FFFFFF
##4E417D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#424D59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e417d;
/* rgb */ color: rgb(78, 65, 125);
/* oklch */ color: oklch(41.8% 0.098 291.6);
Tailwind
colors: {
  custom: {
    50: '#8275a3',
    500: '#4e417d',
    950: '#000000',
  },
}
SCSS
$custom: #4e417d;
$custom-light: #8275a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e417d",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 253,
    "s": 31.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.09774,
    "h": 291.6
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#4E417D
secondary
#9BA674
accent
#C860B1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E417D

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

Preview Lab → · Contrast checker → · Palette generator →

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