#4E405F#4E405F

#4E405F is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.9% C 0.054 H 304.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4E405F
RGBrgb(78, 64, 95)
HSLhsl(267, 19%, 31%)
HSVhsv(267, 33%, 37%)
CMYKcmyk(17.9%, 32.6%, 0%, 62.7%)
CIE-LABlab(29.70, 13.02, -16.12)
CIE-LCHlch(29.70, 20.72, 308.94°)
OKLaboklab(39.9% 0.0307 -0.0443)
OKLCHoklch(39.9% 0.054 304.7)
XYZxyz(7.0404, 6.1127, 11.6332)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E405F #515F40
analogous
#40415F #4E405F #5D405F
triadic
#4E405F #5F4E40 #405F4E
tetradic
#4E405F #5F4041 #515F40 #405F5D
square
#4E405F #5F4041 #515F40 #405F5D
split-complementary
#4E405F #5F5D40 #415F40
monochromatic
#120F16 #30273A #4E405F #6C5984 #8B76A3

Accessibility & contrast

On white

9.45
#4E405F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E405F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E405F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E405F#FFFFFF#000000##FFFFFF
##4E405F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#3D465E
Tritanopia (blue-blind)
#4B444B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e405f;
/* rgb */ color: rgb(78, 64, 95);
/* oklch */ color: oklch(39.9% 0.054 304.7);
Tailwind
colors: {
  custom: {
    50: '#80758c',
    500: '#4e405f',
    950: '#000000',
  },
}
SCSS
$custom: #4e405f;
$custom-light: #80758c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e405f",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 267.097,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.05392,
    "h": 304.7
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#4E405F
secondary
#7F8F6C
accent
#BC6C98
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E405F

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

Preview Lab → · Contrast checker → · Palette generator →

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