#4C416D#4C416D

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

Color values

HEX#4C416D
RGBrgb(76, 65, 109)
HSLhsl(255, 25%, 34%)
HSVhsv(255, 40%, 43%)
CMYKcmyk(30.3%, 40.4%, 0%, 57.3%)
CIE-LABlab(30.45, 15.48, -23.90)
CIE-LCHlch(30.45, 28.47, 302.93°)
OKLaboklab(40.65% 0.0303 -0.0667)
OKLCHoklch(40.65% 0.073 294.4)
XYZxyz(7.6304, 6.4211, 15.3024)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C416D #626D41
analogous
#414C6D #4C416D #62416D
triadic
#4C416D #6D4C41 #416D4C
tetradic
#4C416D #6D414C #626D41 #416D62
square
#4C416D #6D414C #626D41 #416D62
split-complementary
#4C416D #6D6241 #4C6D41
monochromatic
#171320 #312A47 #4C416D #675893 #8779AF

Accessibility & contrast

On white

9.19
#4C416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C416D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C416D#FFFFFF#000000##FFFFFF
##4C416D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#454952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c416d;
/* rgb */ color: rgb(76, 65, 109);
/* oklch */ color: oklch(40.7% 0.073 294.4);
Tailwind
colors: {
  custom: {
    50: '#7f7597',
    500: '#4c416d',
    950: '#000000',
  },
}
SCSS
$custom: #4c416d;
$custom-light: #7f7597;
$custom-dark: #000000;
JSON
{
  "hex": "#4c416d",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 255,
    "s": 25.287,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.07322,
    "h": 294.4
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#4C416D
secondary
#909B6F
accent
#C266AB
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4C416D

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

Preview Lab → · Contrast checker → · Palette generator →

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