#4E314D#4E314D

#4E314D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 35.9% C 0.061 H 327.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4E314D
RGBrgb(78, 49, 77)
HSLhsl(302, 23%, 25%)
HSVhsv(302, 37%, 31%)
CMYKcmyk(0%, 37.2%, 1.3%, 69.4%)
CIE-LABlab(24.80, 18.44, -11.87)
CIE-LCHlch(24.80, 21.94, 327.23°)
OKLaboklab(35.91% 0.0514 -0.0322)
OKLCHoklch(35.91% 0.061 327.9)
XYZxyz(5.5796, 4.3524, 7.5659)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E314D #314E32
analogous
#41314E #4E314D #4E313F
triadic
#4E314D #4D4E31 #314D4E
tetradic
#4E314D #4E4131 #314E32 #313F4E
square
#4E314D #4E4131 #314E32 #313F4E
split-complementary
#4E314D #3F4E31 #314E41
monochromatic
#130C13 #281928 #4E314D #744972 #996097

Accessibility & contrast

On white

11.23
#4E314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E314D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E314D#FFFFFF#000000##FFFFFF
##4E314D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394E
Deuteranopia (green-blind)
#363C4C
Tritanopia (blue-blind)
#50333B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e314d;
/* rgb */ color: rgb(78, 49, 77);
/* oklch */ color: oklch(35.9% 0.061 327.9);
Tailwind
colors: {
  custom: {
    50: '#80697e',
    500: '#4e314d',
    950: '#000000',
  },
}
SCSS
$custom: #4e314d;
$custom-light: #80697e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e314d",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 302.069,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.06061,
    "h": 327.9
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#4E314D
secondary
#5C7F5D
accent
#BF6B68
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E314D

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

Preview Lab → · Contrast checker → · Palette generator →

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