#4E405B#4E405B

#4E405B is a dark, muted violet. Relative luminance 0.060; OKLCH L 39.7% C 0.048 H 307.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4E405B
RGBrgb(78, 64, 91)
HSLhsl(271, 17%, 30%)
HSVhsv(271, 30%, 36%)
CMYKcmyk(14.3%, 29.7%, 0%, 64.3%)
CIE-LABlab(29.52, 12.01, -13.81)
CIE-LCHlch(29.52, 18.31, 311.01°)
OKLaboklab(39.71% 0.0294 -0.0378)
OKLCHoklch(39.71% 0.048 307.9)
XYZxyz(6.8633, 6.0419, 10.7001)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E405B #4D5B40
analogous
#40405B #4E405B #5B405A
triadic
#4E405B #5B4E40 #405B4E
tetradic
#4E405B #5B4040 #4D5B40 #405A5B
square
#4E405B #5B4040 #4D5B40 #405A5B
split-complementary
#4E405B #5A5B40 #405B40
monochromatic
#100D13 #2F2737 #4E405B #6D597F #8B769F

Accessibility & contrast

On white

9.51
#4E405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E405B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E405B#FFFFFF#000000##FFFFFF
##4E405B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e405b;
/* rgb */ color: rgb(78, 64, 91);
/* oklch */ color: oklch(39.7% 0.048 307.9);
Tailwind
colors: {
  custom: {
    50: '#807589',
    500: '#4e405b',
    950: '#000000',
  },
}
SCSS
$custom: #4e405b;
$custom-light: #807589;
$custom-dark: #000000;
JSON
{
  "hex": "#4e405b",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 271.111,
    "s": 17.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39708,
    "c": 0.0479,
    "h": 307.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#4E405B
secondary
#7B8A6C
accent
#BA6E92
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E405B

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

Preview Lab → · Contrast checker → · Palette generator →

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