#4D416A#4D416A

#4D416A is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.6% C 0.069 H 296.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4D416A
RGBrgb(77, 65, 106)
HSLhsl(258, 24%, 34%)
HSVhsv(258, 39%, 42%)
CMYKcmyk(27.4%, 38.7%, 0%, 58.4%)
CIE-LABlab(30.40, 14.96, -22.07)
CIE-LCHlch(30.40, 26.66, 304.14°)
OKLaboklab(40.59% 0.0309 -0.0614)
OKLCHoklch(40.59% 0.069 296.7)
XYZxyz(7.5518, 6.3989, 14.4701)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D416A #5E6A41
analogous
#41496A #4D416A #61416A
triadic
#4D416A #6A4D41 #416A4D
tetradic
#4D416A #6A4149 #5E6A41 #416A61
square
#4D416A #6A4149 #5E6A41 #416A61
split-complementary
#4D416A #6A6141 #496A41
monochromatic
#16121E #312A44 #4D416A #695890 #8879AD

Accessibility & contrast

On white

9.21
#4D416A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D416A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D416A#FFFFFF#000000##FFFFFF
##4D416A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#474850
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d416a;
/* rgb */ color: rgb(77, 65, 106);
/* oklch */ color: oklch(40.6% 0.069 296.7);
Tailwind
colors: {
  custom: {
    50: '#807595',
    500: '#4d416a',
    950: '#000000',
  },
}
SCSS
$custom: #4d416a;
$custom-light: #807595;
$custom-dark: #000000;
JSON
{
  "hex": "#4d416a",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 106
  },
  "hsl": {
    "h": 257.561,
    "s": 23.977,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40587,
    "c": 0.0687,
    "h": 296.7
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#4D416A
secondary
#8C986F
accent
#C067A6
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4D416A

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

Preview Lab → · Contrast checker → · Palette generator →

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