#4E314B#4E314B

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

Color values

HEX#4E314B
RGBrgb(78, 49, 75)
HSLhsl(306, 23%, 25%)
HSVhsv(306, 37%, 31%)
CMYKcmyk(0%, 37.2%, 3.8%, 69.4%)
CIE-LABlab(24.72, 18.01, -10.67)
CIE-LCHlch(24.72, 20.94, 329.35°)
OKLaboklab(35.82% 0.0507 -0.0288)
OKLCHoklch(35.82% 0.058 330.4)
XYZxyz(5.5101, 4.3246, 7.1997)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E314B #314E34
analogous
#43314E #4E314B #4E313C
triadic
#4E314B #4B4E31 #314B4E
tetradic
#4E314B #4E4331 #314E34 #313C4E
square
#4E314B #4E4331 #314E34 #313C4E
split-complementary
#4E314B #3C4E31 #314E43
monochromatic
#130C12 #281927 #4E314B #74496F #996093

Accessibility & contrast

On white

11.26
#4E314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E314B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E314B#FFFFFF#000000##FFFFFF
##4E314B1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e314b;
/* rgb */ color: rgb(78, 49, 75);
/* oklch */ color: oklch(35.8% 0.058 330.4);
Tailwind
colors: {
  custom: {
    50: '#80697d',
    500: '#4e314b',
    950: '#000000',
  },
}
SCSS
$custom: #4e314b;
$custom-light: #80697d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e314b",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 306.207,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35816,
    "c": 0.05833,
    "h": 330.4
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#4E314B
secondary
#5C7F60
accent
#BF7168
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E314B

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

Preview Lab → · Contrast checker → · Palette generator →

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