#4E314F#4E314F

#4E314F is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.0% C 0.063 H 325.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#4E314F
RGBrgb(78, 49, 79)
HSLhsl(298, 23%, 25%)
HSVhsv(298, 38%, 31%)
CMYKcmyk(1.3%, 38%, 0%, 69%)
CIE-LABlab(24.89, 18.89, -13.06)
CIE-LCHlch(24.89, 22.97, 325.33°)
OKLaboklab(36.01% 0.052 -0.0355)
OKLCHoklch(36.01% 0.063 325.6)
XYZxyz(5.6513, 4.3811, 7.9436)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E314F #324F31
analogous
#3F314F #4E314F #4F3141
triadic
#4E314F #4F4E31 #314F4E
tetradic
#4E314F #4F3F31 #324F31 #31414F
square
#4E314F #4F3F31 #324F31 #31414F
split-complementary
#4E314F #414F31 #314F3F
monochromatic
#130C13 #291A29 #4E314F #734875 #99609B

Accessibility & contrast

On white

11.19
#4E314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E314F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E314F#FFFFFF#000000##FFFFFF
##4E314F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#363C4E
Tritanopia (blue-blind)
#50343C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e314f;
/* rgb */ color: rgb(78, 49, 79);
/* oklch */ color: oklch(36.0% 0.063 325.6);
Tailwind
colors: {
  custom: {
    50: '#806980',
    500: '#4e314f',
    950: '#000000',
  },
}
SCSS
$custom: #4e314f;
$custom-light: #806980;
$custom-dark: #000000;
JSON
{
  "hex": "#4e314f",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 298,
    "s": 23.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.06295,
    "h": 325.6
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#4E314F
secondary
#5D805C
accent
#C0686B
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E314F

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

Preview Lab → · Contrast checker → · Palette generator →

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