#4D476A#4D476A

#4D476A is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.9% C 0.058 H 291.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4D476A
RGBrgb(77, 71, 106)
HSLhsl(250, 20%, 35%)
HSVhsv(250, 33%, 42%)
CMYKcmyk(27.4%, 33%, 0%, 58.4%)
CIE-LABlab(32.09, 11.06, -19.43)
CIE-LCHlch(32.09, 22.36, 299.64°)
OKLaboklab(41.88% 0.0213 -0.0538)
OKLCHoklch(41.88% 0.058 291.6)
XYZxyz(7.9147, 7.1247, 14.5911)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D476A #646A47
analogous
#47536A #4D476A #5F476A
triadic
#4D476A #6A4D47 #476A4D
tetradic
#4D476A #6A4753 #646A47 #476A5F
square
#4D476A #6A4753 #646A47 #476A5F
split-complementary
#4D476A #6A5F47 #536A47
monochromatic
#181621 #322E45 #4D476A #68608F #8881AB

Accessibility & contrast

On white

8.66
#4D476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D476A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D476A#FFFFFF#000000##FFFFFF
##4D476A1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6B
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#474D54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d476a;
/* rgb */ color: rgb(77, 71, 106);
/* oklch */ color: oklch(41.9% 0.058 291.6);
Tailwind
colors: {
  custom: {
    50: '#7f7a94',
    500: '#4d476a',
    950: '#000000',
  },
}
SCSS
$custom: #4d476a;
$custom-light: #7f7a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4d476a",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 250.286,
    "s": 19.774,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.05788,
    "h": 291.6
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#4D476A
secondary
#919776
accent
#BC6BAF
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4D476A

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

Preview Lab → · Contrast checker → · Palette generator →

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