#4D194C#4D194C

#4D194C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.105 H 328.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#4D194C
RGBrgb(77, 25, 76)
HSLhsl(301, 51%, 20%)
HSVhsv(301, 68%, 30%)
CMYKcmyk(0%, 67.5%, 1.3%, 69.8%)
CIE-LABlab(19.20, 31.94, -19.91)
CIE-LCHlch(19.20, 37.64, 328.07°)
OKLaboklab(31.7% 0.0895 -0.0549)
OKLCHoklch(31.7% 0.105 328.5)
XYZxyz(4.7126, 2.7952, 7.1274)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D194C #194D1A
analogous
#34194D #4D194C #4D1932
triadic
#4D194C #4C4D19 #194C4D
tetradic
#4D194C #4D3419 #194D1A #19324D
square
#4D194C #4D3419 #194D1A #19324D
split-complementary
#4D194C #324D19 #194D34
monochromatic
#170817 #1F0A1E #4D194C #7B287A #A937A7

Accessibility & contrast

On white

13.47
#4D194C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D194C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D194C#FFFFFF#000000##FFFFFF
##4D194C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#26314B
Tritanopia (blue-blind)
#501F30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d194c;
/* rgb */ color: rgb(77, 25, 76);
/* oklch */ color: oklch(31.7% 0.105 328.5);
Tailwind
colors: {
  custom: {
    50: '#815a7e',
    500: '#4d194c',
    950: '#000000',
  },
}
SCSS
$custom: #4d194c;
$custom-light: #815a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d194c",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 76
  },
  "hsl": {
    "h": 301.154,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.31702,
    "c": 0.10494,
    "h": 328.5
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#4D194C
secondary
#3E8340
accent
#DA504D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D194C

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

Preview Lab → · Contrast checker → · Palette generator →

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