#4E415E#4E415E

#4E415E is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.050 H 304.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4E415E
RGBrgb(78, 65, 94)
HSLhsl(267, 18%, 31%)
HSVhsv(267, 31%, 37%)
CMYKcmyk(17%, 30.9%, 0%, 63.1%)
CIE-LABlab(29.93, 12.12, -15.11)
CIE-LCHlch(29.93, 19.37, 308.73°)
OKLaboklab(40.07% 0.0287 -0.0414)
OKLCHoklch(40.07% 0.05 304.7)
XYZxyz(7.0522, 6.2085, 11.4143)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E415E #515E41
analogous
#41425E #4E415E #5C415E
triadic
#4E415E #5E4E41 #415E4E
tetradic
#4E415E #5E4142 #515E41 #415E5C
square
#4E415E #5E4142 #515E41 #415E5C
split-complementary
#4E415E #5E5C41 #425E41
monochromatic
#120F16 #30283A #4E415E #6C5A82 #8B78A2

Accessibility & contrast

On white

9.37
#4E415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E415E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E415E#FFFFFF#000000##FFFFFF
##4E415E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#3E475D
Tritanopia (blue-blind)
#4C454B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e415e;
/* rgb */ color: rgb(78, 65, 94);
/* oklch */ color: oklch(40.1% 0.050 304.7);
Tailwind
colors: {
  custom: {
    50: '#80758b',
    500: '#4e415e',
    950: '#000000',
  },
}
SCSS
$custom: #4e415e;
$custom-light: #80758b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e415e",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 266.897,
    "s": 18.239,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.05043,
    "h": 304.7
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#4E415E
secondary
#7F8D6D
accent
#BB6D98
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E415E

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

Preview Lab → · Contrast checker → · Palette generator →

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