#4E417F#4E417F

#4E417F is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.101 H 291.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4E417F
RGBrgb(78, 65, 127)
HSLhsl(253, 32%, 38%)
HSVhsv(253, 49%, 50%)
CMYKcmyk(38.6%, 48.8%, 0%, 50.2%)
CIE-LABlab(31.65, 21.33, -33.29)
CIE-LCHlch(31.65, 39.54, 302.64°)
OKLaboklab(41.94% 0.0362 -0.094)
OKLCHoklch(41.94% 0.101 291.1)
XYZxyz(8.8619, 6.9324, 20.9457)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E417F #727F41
analogous
#41537F #4E417F #6D417F
triadic
#4E417F #7F4E41 #417F4E
tetradic
#4E417F #7F4153 #727F41 #417F6D
square
#4E417F #7F4153 #727F41 #417F6D
split-complementary
#4E417F #7F6D41 #537F41
monochromatic
#1C182E #352C57 #4E417F #6756A7 #8B7EBD

Accessibility & contrast

On white

8.80
#4E417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E417F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E417F#FFFFFF#000000##FFFFFF
##4E417F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#2C497E
Tritanopia (blue-blind)
#414D5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e417f;
/* rgb */ color: rgb(78, 65, 127);
/* oklch */ color: oklch(41.9% 0.101 291.1);
Tailwind
colors: {
  custom: {
    50: '#8275a4',
    500: '#4e417f',
    950: '#000000',
  },
}
SCSS
$custom: #4e417f;
$custom-light: #8275a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e417f",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 252.581,
    "s": 32.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.10073,
    "h": 291.1
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#4E417F
secondary
#9DA774
accent
#C85FB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E417F

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

Preview Lab → · Contrast checker → · Palette generator →

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