#4E416F#4E416F

#4E416F is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.0% C 0.077 H 295.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E416F
RGBrgb(78, 65, 111)
HSLhsl(257, 26%, 35%)
HSVhsv(257, 41%, 44%)
CMYKcmyk(29.7%, 41.4%, 0%, 56.5%)
CIE-LABlab(30.75, 16.68, -24.67)
CIE-LCHlch(30.75, 29.78, 304.07°)
OKLaboklab(40.97% 0.0334 -0.0689)
OKLCHoklch(40.97% 0.077 295.8)
XYZxyz(7.9007, 6.5479, 15.8835)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E416F #626F41
analogous
#414B6F #4E416F #65416F
triadic
#4E416F #6F4E41 #416F4E
tetradic
#4E416F #6F414B #626F41 #416F65
square
#4E416F #6F414B #626F41 #416F65
split-complementary
#4E416F #6F6541 #4B6F41
monochromatic
#181422 #332A48 #4E416F #695896 #897AB1

Accessibility & contrast

On white

9.09
#4E416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E416F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E416F#FFFFFF#000000##FFFFFF
##4E416F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#36486E
Tritanopia (blue-blind)
#474952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e416f;
/* rgb */ color: rgb(78, 65, 111);
/* oklch */ color: oklch(41.0% 0.077 295.8);
Tailwind
colors: {
  custom: {
    50: '#817598',
    500: '#4e416f',
    950: '#000000',
  },
}
SCSS
$custom: #4e416f;
$custom-light: #817598;
$custom-dark: #000000;
JSON
{
  "hex": "#4e416f",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 256.957,
    "s": 26.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.07654,
    "h": 295.8
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#4E416F
secondary
#909C70
accent
#C365A8
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E416F

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

Preview Lab → · Contrast checker → · Palette generator →

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