#4E4261#4E4261

#4E4261 is a dark, muted violet. Relative luminance 0.064; OKLCH L 40.4% C 0.053 H 301.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4E4261
RGBrgb(78, 66, 97)
HSLhsl(263, 19%, 32%)
HSVhsv(263, 32%, 38%)
CMYKcmyk(19.6%, 32%, 0%, 62%)
CIE-LABlab(30.35, 12.24, -16.39)
CIE-LCHlch(30.35, 20.46, 306.75°)
OKLaboklab(40.43% 0.028 -0.0451)
OKLCHoklch(40.43% 0.053 301.8)
XYZxyz(7.2473, 6.3792, 12.1564)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4261 #556142
analogous
#424661 #4E4261 #5E4261
triadic
#4E4261 #614E42 #42614E
tetradic
#4E4261 #614246 #556142 #42615E
square
#4E4261 #614246 #556142 #42615E
split-complementary
#4E4261 #615E42 #466142
monochromatic
#131018 #31293D #4E4261 #6B5B85 #8A79A4

Accessibility & contrast

On white

9.23
#4E4261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E4261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4261
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4261#FFFFFF#000000##FFFFFF
##4E42611.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4762
Deuteranopia (green-blind)
#3E4760
Tritanopia (blue-blind)
#4B474D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4261;
/* rgb */ color: rgb(78, 66, 97);
/* oklch */ color: oklch(40.4% 0.053 301.8);
Tailwind
colors: {
  custom: {
    50: '#80768e',
    500: '#4e4261',
    950: '#000000',
  },
}
SCSS
$custom: #4e4261;
$custom-light: #80768e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4261",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 263.226,
    "s": 19.018,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.05308,
    "h": 301.8
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#4E4261
secondary
#83906E
accent
#BC6C9D
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4261

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

Preview Lab → · Contrast checker → · Palette generator →

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