#4E415F#4E415F

#4E415F is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.052 H 304.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4E415F
RGBrgb(78, 65, 95)
HSLhsl(266, 19%, 31%)
HSVhsv(266, 32%, 37%)
CMYKcmyk(17.9%, 31.6%, 0%, 62.7%)
CIE-LABlab(29.98, 12.37, -15.68)
CIE-LCHlch(29.98, 19.98, 308.27°)
OKLaboklab(40.12% 0.029 -0.0431)
OKLCHoklch(40.12% 0.052 304)
XYZxyz(7.0973, 6.2265, 11.6522)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E415F #525F41
analogous
#41435F #4E415F #5D415F
triadic
#4E415F #5F4E41 #415F4E
tetradic
#4E415F #5F4143 #525F41 #415F5D
square
#4E415F #5F4143 #525F41 #415F5D
split-complementary
#4E415F #5F5D41 #435F41
monochromatic
#120F16 #30283B #4E415F #6C5A83 #8A78A3

Accessibility & contrast

On white

9.35
#4E415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E415F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E415F#FFFFFF#000000##FFFFFF
##4E415F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#3D475E
Tritanopia (blue-blind)
#4B454C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e415f;
/* rgb */ color: rgb(78, 65, 95);
/* oklch */ color: oklch(40.1% 0.052 304.0);
Tailwind
colors: {
  custom: {
    50: '#80758c',
    500: '#4e415f',
    950: '#000000',
  },
}
SCSS
$custom: #4e415f;
$custom-light: #80758c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e415f",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 266,
    "s": 18.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.05195,
    "h": 304
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#4E415F
secondary
#808E6D
accent
#BB6C99
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E415F

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

Preview Lab → · Contrast checker → · Palette generator →

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