#4E417A#4E417A

#4E417A is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.6% C 0.093 H 292.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E417A
RGBrgb(78, 65, 122)
HSLhsl(254, 30%, 37%)
HSVhsv(254, 47%, 48%)
CMYKcmyk(36.1%, 46.7%, 0%, 52.2%)
CIE-LABlab(31.36, 19.85, -30.64)
CIE-LCHlch(31.36, 36.50, 302.93°)
OKLaboklab(41.62% 0.0355 -0.0862)
OKLCHoklch(41.62% 0.093 292.4)
XYZxyz(8.5441, 6.8053, 19.2720)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E417A #6D7A41
analogous
#41517A #4E417A #6B417A
triadic
#4E417A #7A4E41 #417A4E
tetradic
#4E417A #7A4151 #6D7A41 #417A6B
square
#4E417A #7A4151 #6D7A41 #417A6B
split-complementary
#4E417A #7A6B41 #517A41
monochromatic
#1B162A #342C52 #4E417A #6856A2 #8A7CB9

Accessibility & contrast

On white

8.89
#4E417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E417A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E417A#FFFFFF#000000##FFFFFF
##4E417A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#434C57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e417a;
/* rgb */ color: rgb(78, 65, 122);
/* oklch */ color: oklch(41.6% 0.093 292.4);
Tailwind
colors: {
  custom: {
    50: '#8275a1',
    500: '#4e417a',
    950: '#000000',
  },
}
SCSS
$custom: #4e417a;
$custom-light: #8275a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e417a",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 253.684,
    "s": 30.481,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.09324,
    "h": 292.4
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#4E417A
secondary
#99A473
accent
#C761B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4E417A

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

Preview Lab → · Contrast checker → · Palette generator →

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