#4E314A#4E314A

#4E314A is a dark, muted purple. Relative luminance 0.043; OKLCH L 35.8% C 0.057 H 331.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4E314A
RGBrgb(78, 49, 74)
HSLhsl(308, 23%, 25%)
HSVhsv(308, 37%, 31%)
CMYKcmyk(0%, 37.2%, 5.1%, 69.4%)
CIE-LABlab(24.67, 17.80, -10.07)
CIE-LCHlch(24.67, 20.45, 330.49°)
OKLaboklab(35.77% 0.0504 -0.0271)
OKLCHoklch(35.77% 0.057 331.7)
XYZxyz(5.4762, 4.3110, 7.0209)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E314A #314E35
analogous
#44314E #4E314A #4E313B
triadic
#4E314A #4A4E31 #314A4E
tetradic
#4E314A #4E4431 #314E35 #313B4E
square
#4E314A #4E4431 #314E35 #313B4E
split-complementary
#4E314A #3B4E31 #314E44
monochromatic
#130C12 #281926 #4E314A #74496E #996091

Accessibility & contrast

On white

11.28
#4E314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E314A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E314A#FFFFFF#000000##FFFFFF
##4E314A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384B
Deuteranopia (green-blind)
#373C49
Tritanopia (blue-blind)
#50333A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e314a;
/* rgb */ color: rgb(78, 49, 74);
/* oklch */ color: oklch(35.8% 0.057 331.7);
Tailwind
colors: {
  custom: {
    50: '#80697c',
    500: '#4e314a',
    950: '#000000',
  },
}
SCSS
$custom: #4e314a;
$custom-light: #80697c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e314a",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 308.276,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.05723,
    "h": 331.7
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#4E314A
secondary
#5C7F61
accent
#BF7468
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E314A

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

Preview Lab → · Contrast checker → · Palette generator →

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