#4E416E#4E416E

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

Color values

HEX#4E416E
RGBrgb(78, 65, 110)
HSLhsl(257, 26%, 34%)
HSVhsv(257, 41%, 43%)
CMYKcmyk(29.1%, 40.9%, 0%, 56.9%)
CIE-LABlab(30.70, 16.40, -24.12)
CIE-LCHlch(30.70, 29.17, 304.22°)
OKLaboklab(40.91% 0.0331 -0.0673)
OKLCHoklch(40.91% 0.075 296.2)
XYZxyz(7.8460, 6.5260, 15.5951)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E416E #616E41
analogous
#414B6E #4E416E #65416E
triadic
#4E416E #6E4E41 #416E4E
tetradic
#4E416E #6E414B #616E41 #416E65
square
#4E416E #6E414B #616E41 #416E65
split-complementary
#4E416E #6E6541 #4B6E41
monochromatic
#171421 #332A48 #4E416E #695894 #8979B0

Accessibility & contrast

On white

9.11
#4E416E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E416E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E416E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E416E#FFFFFF#000000##FFFFFF
##4E416E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#474952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e416e;
/* rgb */ color: rgb(78, 65, 110);
/* oklch */ color: oklch(40.9% 0.075 296.2);
Tailwind
colors: {
  custom: {
    50: '#817598',
    500: '#4e416e',
    950: '#000000',
  },
}
SCSS
$custom: #4e416e;
$custom-light: #817598;
$custom-dark: #000000;
JSON
{
  "hex": "#4e416e",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 110
  },
  "hsl": {
    "h": 257.333,
    "s": 25.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.075,
    "h": 296.2
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E416E

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

Preview Lab → · Contrast checker → · Palette generator →

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