#4D415E#4D415E

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

Color values

HEX#4D415E
RGBrgb(77, 65, 94)
HSLhsl(265, 18%, 31%)
HSVhsv(265, 31%, 37%)
CMYKcmyk(18.1%, 30.9%, 0%, 63.1%)
CIE-LABlab(29.83, 11.75, -15.28)
CIE-LCHlch(29.83, 19.28, 307.57°)
OKLaboklab(39.97% 0.0274 -0.0419)
OKLCHoklch(39.97% 0.05 303.2)
XYZxyz(6.9708, 6.1665, 11.4105)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D415E #525E41
analogous
#41435E #4D415E #5B415E
triadic
#4D415E #5E4D41 #415E4D
tetradic
#4D415E #5E4143 #525E41 #415E5B
square
#4D415E #5E4143 #525E41 #415E5B
split-complementary
#4D415E #5E5B41 #435E41
monochromatic
#120F16 #2F283A #4D415E #6B5A82 #8978A2

Accessibility & contrast

On white

9.40
#4D415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D415E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D415E#FFFFFF#000000##FFFFFF
##4D415E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d415e;
/* rgb */ color: rgb(77, 65, 94);
/* oklch */ color: oklch(40.0% 0.050 303.2);
Tailwind
colors: {
  custom: {
    50: '#7f758b',
    500: '#4d415e',
    950: '#000000',
  },
}
SCSS
$custom: #4d415e;
$custom-light: #7f758b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d415e",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 264.828,
    "s": 18.239,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.05011,
    "h": 303.2
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#4D415E
secondary
#808D6D
accent
#BB6D9B
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4D415E

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

Preview Lab → · Contrast checker → · Palette generator →

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