#4E405E#4E405E

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

Color values

HEX#4E405E
RGBrgb(78, 64, 94)
HSLhsl(268, 19%, 31%)
HSVhsv(268, 32%, 37%)
CMYKcmyk(17%, 31.9%, 0%, 63.1%)
CIE-LABlab(29.65, 12.77, -15.54)
CIE-LCHlch(29.65, 20.12, 309.40°)
OKLaboklab(39.85% 0.0304 -0.0427)
OKLCHoklch(39.85% 0.052 305.5)
XYZxyz(6.9953, 6.0947, 11.3954)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E405E #505E40
analogous
#40415E #4E405E #5D405E
triadic
#4E405E #5E4E40 #405E4E
tetradic
#4E405E #5E4041 #505E40 #405E5D
square
#4E405E #5E4041 #505E40 #405E5D
split-complementary
#4E405E #5E5D40 #415E40
monochromatic
#120E15 #30273A #4E405E #6C5982 #8B76A2

Accessibility & contrast

On white

9.46
#4E405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E405E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E405E#FFFFFF#000000##FFFFFF
##4E405E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#3D465D
Tritanopia (blue-blind)
#4C444B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e405e;
/* rgb */ color: rgb(78, 64, 94);
/* oklch */ color: oklch(39.9% 0.052 305.5);
Tailwind
colors: {
  custom: {
    50: '#80758b',
    500: '#4e405e',
    950: '#000000',
  },
}
SCSS
$custom: #4e405e;
$custom-light: #80758b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e405e",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 268,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.05241,
    "h": 305.5
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#4E405E
secondary
#7E8D6C
accent
#BC6C97
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E405E

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

Preview Lab → · Contrast checker → · Palette generator →

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