#4D416C#4D416C

#4D416C is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.7% C 0.072 H 295.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4D416C
RGBrgb(77, 65, 108)
HSLhsl(257, 25%, 34%)
HSVhsv(257, 40%, 42%)
CMYKcmyk(28.7%, 39.8%, 0%, 57.6%)
CIE-LABlab(30.50, 15.52, -23.18)
CIE-LCHlch(30.50, 27.89, 303.80°)
OKLaboklab(40.7% 0.0314 -0.0646)
OKLCHoklch(40.7% 0.072 295.9)
XYZxyz(7.6570, 6.4410, 15.0243)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D416C #606C41
analogous
#414B6C #4D416C #63416C
triadic
#4D416C #6C4D41 #416C4D
tetradic
#4D416C #6C414B #606C41 #416C63
square
#4D416C #6C414B #606C41 #416C63
split-complementary
#4D416C #6C6341 #4B6C41
monochromatic
#171320 #322A46 #4D416C #685892 #8879AE

Accessibility & contrast

On white

9.18
#4D416C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D416C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D416C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D416C#FFFFFF#000000##FFFFFF
##4D416C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#37476B
Tritanopia (blue-blind)
#474851
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d416c;
/* rgb */ color: rgb(77, 65, 108);
/* oklch */ color: oklch(40.7% 0.072 295.9);
Tailwind
colors: {
  custom: {
    50: '#807596',
    500: '#4d416c',
    950: '#000000',
  },
}
SCSS
$custom: #4d416c;
$custom-light: #807596;
$custom-dark: #000000;
JSON
{
  "hex": "#4d416c",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 256.744,
    "s": 24.855,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40698,
    "c": 0.0718,
    "h": 295.9
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#4D416C
secondary
#8E9A6F
accent
#C167A8
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4D416C

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

Preview Lab → · Contrast checker → · Palette generator →

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