#4E416D#4E416D

#4E416D is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.073 H 296.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4E416D
RGBrgb(78, 65, 109)
HSLhsl(258, 25%, 34%)
HSVhsv(258, 40%, 43%)
CMYKcmyk(28.4%, 40.4%, 0%, 57.3%)
CIE-LABlab(30.65, 16.12, -23.57)
CIE-LCHlch(30.65, 28.56, 304.38°)
OKLaboklab(40.85% 0.0329 -0.0657)
OKLCHoklch(40.85% 0.073 296.6)
XYZxyz(7.7918, 6.5043, 15.3100)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E416D #606D41
analogous
#414A6D #4E416D #64416D
triadic
#4E416D #6D4E41 #416D4E
tetradic
#4E416D #6D414A #606D41 #416D64
square
#4E416D #6D414A #606D41 #416D64
split-complementary
#4E416D #6D6441 #4A6D41
monochromatic
#171320 #332A47 #4E416D #695893 #8979AF

Accessibility & contrast

On white

9.13
#4E416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E416D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E416D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E416D#FFFFFF#000000##FFFFFF
##4E416D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#37486C
Tritanopia (blue-blind)
#484952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e416d;
/* rgb */ color: rgb(78, 65, 109);
/* oklch */ color: oklch(40.9% 0.073 296.6);
Tailwind
colors: {
  custom: {
    50: '#817597',
    500: '#4e416d',
    950: '#000000',
  },
}
SCSS
$custom: #4e416d;
$custom-light: #817597;
$custom-dark: #000000;
JSON
{
  "hex": "#4e416d",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 257.727,
    "s": 25.287,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.07347,
    "h": 296.6
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#4E416D
secondary
#8E9B6F
accent
#C266A7
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E416D

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

Preview Lab → · Contrast checker → · Palette generator →

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