#4E405D#4E405D

#4E405D is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.8% C 0.051 H 306.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4E405D
RGBrgb(78, 64, 93)
HSLhsl(269, 18%, 31%)
HSVhsv(269, 31%, 36%)
CMYKcmyk(16.1%, 31.2%, 0%, 63.5%)
CIE-LABlab(29.61, 12.52, -14.97)
CIE-LCHlch(29.61, 19.51, 309.90°)
OKLaboklab(39.8% 0.0301 -0.0411)
OKLCHoklch(39.8% 0.051 306.3)
XYZxyz(6.9507, 6.0768, 11.1606)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E405D #4F5D40
analogous
#40405D #4E405D #5C405D
triadic
#4E405D #5D4E40 #405D4E
tetradic
#4E405D #5D4040 #4F5D40 #405D5C
square
#4E405D #5D4040 #4F5D40 #405D5C
split-complementary
#4E405D #5D5C40 #405D40
monochromatic
#110E14 #302739 #4E405D #6C5981 #8B76A1

Accessibility & contrast

On white

9.48
#4E405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E405D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E405D#FFFFFF#000000##FFFFFF
##4E405D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455E
Deuteranopia (green-blind)
#3D465C
Tritanopia (blue-blind)
#4C444A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e405d;
/* rgb */ color: rgb(78, 64, 93);
/* oklch */ color: oklch(39.8% 0.051 306.3);
Tailwind
colors: {
  custom: {
    50: '#80758b',
    500: '#4e405d',
    950: '#000000',
  },
}
SCSS
$custom: #4e405d;
$custom-light: #80758b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e405d",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 268.966,
    "s": 18.471,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.0509,
    "h": 306.3
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#4E405D
secondary
#7D8C6C
accent
#BB6D95
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E405D

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

Preview Lab → · Contrast checker → · Palette generator →

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