#4D194D#4D194D

#4D194D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.106 H 327.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4D194D
RGBrgb(77, 25, 77)
HSLhsl(300, 51%, 20%)
HSVhsv(300, 68%, 30%)
CMYKcmyk(0%, 67.5%, 0%, 69.8%)
CIE-LABlab(19.26, 32.15, -20.49)
CIE-LCHlch(19.26, 38.12, 327.48°)
OKLaboklab(31.76% 0.0895 -0.0566)
OKLCHoklch(31.76% 0.106 327.7)
XYZxyz(4.7477, 2.8092, 7.3119)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D194D #194D19
analogous
#33194D #4D194D #4D1933
triadic
#4D194D #4D4D19 #194D4D
tetradic
#4D194D #4D3319 #194D19 #19334D
square
#4D194D #4D3319 #194D19 #19334D
split-complementary
#4D194D #334D19 #194D33
monochromatic
#170817 #1F0A1F #4D194D #7B287B #A937A9

Accessibility & contrast

On white

13.45
#4D194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D194D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D194D#FFFFFF#000000##FFFFFF
##4D194D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4F
Deuteranopia (green-blind)
#25314C
Tritanopia (blue-blind)
#4F2030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d194d;
/* rgb */ color: rgb(77, 25, 77);
/* oklch */ color: oklch(31.8% 0.106 327.7);
Tailwind
colors: {
  custom: {
    50: '#815a7f',
    500: '#4d194d',
    950: '#000000',
  },
}
SCSS
$custom: #4d194d;
$custom-light: #815a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d194d",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.31764,
    "c": 0.10591,
    "h": 327.7
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#4D194D
secondary
#3E833E
accent
#DA4D4D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D194D

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

Preview Lab → · Contrast checker → · Palette generator →

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