#4E4161#4E4161

#4E4161 is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.2% C 0.055 H 302.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4E4161
RGBrgb(78, 65, 97)
HSLhsl(264, 20%, 32%)
HSVhsv(264, 33%, 38%)
CMYKcmyk(19.6%, 33%, 0%, 62%)
CIE-LABlab(30.07, 12.89, -16.83)
CIE-LCHlch(30.07, 21.20, 307.45°)
OKLaboklab(40.22% 0.0297 -0.0463)
OKLCHoklch(40.22% 0.055 302.6)
XYZxyz(7.1894, 6.2634, 12.1371)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4161 #546141
analogous
#414461 #4E4161 #5E4161
triadic
#4E4161 #614E41 #41614E
tetradic
#4E4161 #614144 #546141 #41615E
square
#4E4161 #614144 #546141 #41615E
split-complementary
#4E4161 #615E41 #446141
monochromatic
#131018 #31283C #4E4161 #6B5A86 #8A78A4

Accessibility & contrast

On white

9.32
#4E4161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E4161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4161
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4161#FFFFFF#000000##FFFFFF
##4E41611.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4762
Deuteranopia (green-blind)
#3D4760
Tritanopia (blue-blind)
#4B464C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4161;
/* rgb */ color: rgb(78, 65, 97);
/* oklch */ color: oklch(40.2% 0.055 302.6);
Tailwind
colors: {
  custom: {
    50: '#80758e',
    500: '#4e4161',
    950: '#000000',
  },
}
SCSS
$custom: #4e4161;
$custom-light: #80758e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4161",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 97
  },
  "hsl": {
    "h": 264.375,
    "s": 19.753,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.05502,
    "h": 302.6
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#4E4161
secondary
#82906D
accent
#BC6B9B
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4161

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

Preview Lab → · Contrast checker → · Palette generator →

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