#4E405A#4E405A

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

Color values

HEX#4E405A
RGBrgb(78, 64, 90)
HSLhsl(272, 17%, 30%)
HSVhsv(272, 29%, 35%)
CMYKcmyk(13.3%, 28.9%, 0%, 64.7%)
CIE-LABlab(29.47, 11.76, -13.24)
CIE-LCHlch(29.47, 17.71, 311.63°)
OKLaboklab(39.66% 0.0291 -0.0361)
OKLCHoklch(39.66% 0.046 308.8)
XYZxyz(6.8204, 6.0247, 10.4745)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E405A #4C5A40
analogous
#41405A #4E405A #5A4059
triadic
#4E405A #5A4E40 #405A4E
tetradic
#4E405A #5A4140 #4C5A40 #40595A
square
#4E405A #5A4140 #4C5A40 #40595A
split-complementary
#4E405A #595A40 #405A41
monochromatic
#100D12 #2F2736 #4E405A #6D597E #8C769E

Accessibility & contrast

On white

9.52
#4E405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E405A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E405A#FFFFFF#000000##FFFFFF
##4E405A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455B
Deuteranopia (green-blind)
#3E4659
Tritanopia (blue-blind)
#4D4349
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e405a;
/* rgb */ color: rgb(78, 64, 90);
/* oklch */ color: oklch(39.7% 0.046 308.8);
Tailwind
colors: {
  custom: {
    50: '#807588',
    500: '#4e405a',
    950: '#000000',
  },
}
SCSS
$custom: #4e405a;
$custom-light: #807588;
$custom-dark: #000000;
JSON
{
  "hex": "#4e405a",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 272.308,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.04641,
    "h": 308.8
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#4E405A
secondary
#7A896C
accent
#BA6E91
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E405A

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

Preview Lab → · Contrast checker → · Palette generator →

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