#4E314C#4E314C

#4E314C is a dark, muted purple. Relative luminance 0.043; OKLCH L 35.9% C 0.059 H 329.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4E314C
RGBrgb(78, 49, 76)
HSLhsl(304, 23%, 25%)
HSVhsv(304, 37%, 31%)
CMYKcmyk(0%, 37.2%, 2.6%, 69.4%)
CIE-LABlab(24.76, 18.23, -11.27)
CIE-LCHlch(24.76, 21.43, 328.26°)
OKLaboklab(35.86% 0.051 -0.0305)
OKLCHoklch(35.86% 0.059 329.1)
XYZxyz(5.5446, 4.3384, 7.3814)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E314C #314E33
analogous
#42314E #4E314C #4E313E
triadic
#4E314C #4C4E31 #314C4E
tetradic
#4E314C #4E4231 #314E33 #313E4E
square
#4E314C #4E4231 #314E33 #313E4E
split-complementary
#4E314C #3E4E31 #314E42
monochromatic
#130C12 #281927 #4E314C #744971 #996095

Accessibility & contrast

On white

11.24
#4E314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E314C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E314C#FFFFFF#000000##FFFFFF
##4E314C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e314c;
/* rgb */ color: rgb(78, 49, 76);
/* oklch */ color: oklch(35.9% 0.059 329.1);
Tailwind
colors: {
  custom: {
    50: '#80697e',
    500: '#4e314c',
    950: '#000000',
  },
}
SCSS
$custom: #4e314c;
$custom-light: #80697e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e314c",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 304.138,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35863,
    "c": 0.05946,
    "h": 329.1
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#4E314C
secondary
#5C7F5E
accent
#BF6E68
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E314C

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

Preview Lab → · Contrast checker → · Palette generator →

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