#4D415D#4D415D

#4D415D is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.9% C 0.049 H 303.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4D415D
RGBrgb(77, 65, 93)
HSLhsl(266, 18%, 31%)
HSVhsv(266, 30%, 36%)
CMYKcmyk(17.2%, 30.1%, 0%, 63.5%)
CIE-LABlab(29.78, 11.50, -14.70)
CIE-LCHlch(29.78, 18.66, 308.03°)
OKLaboklab(39.92% 0.0271 -0.0403)
OKLCHoklch(39.92% 0.049 303.9)
XYZxyz(6.9263, 6.1487, 11.1757)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D415D #515D41
analogous
#41435D #4D415D #5B415D
triadic
#4D415D #5D4D41 #415D4D
tetradic
#4D415D #5D4143 #515D41 #415D5B
square
#4D415D #5D4143 #515D41 #415D5B
split-complementary
#4D415D #5D5B41 #435D41
monochromatic
#110F15 #2F2839 #4D415D #6B5A81 #8978A1

Accessibility & contrast

On white

9.42
#4D415D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4D415D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D415D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D415D#FFFFFF#000000##FFFFFF
##4D415D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#3E465C
Tritanopia (blue-blind)
#4B454B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d415d;
/* rgb */ color: rgb(77, 65, 93);
/* oklch */ color: oklch(39.9% 0.049 303.9);
Tailwind
colors: {
  custom: {
    50: '#7f758b',
    500: '#4d415d',
    950: '#000000',
  },
}
SCSS
$custom: #4d415d;
$custom-light: #7f758b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d415d",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 93
  },
  "hsl": {
    "h": 265.714,
    "s": 17.722,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.04856,
    "h": 303.9
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#4D415D
secondary
#7F8C6D
accent
#BA6D99
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4D415D

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

Preview Lab → · Contrast checker → · Palette generator →

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