#4C194D#4C194D

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

Color values

HEX#4C194D
RGBrgb(76, 25, 77)
HSLhsl(299, 51%, 20%)
HSVhsv(299, 68%, 30%)
CMYKcmyk(1.3%, 67.5%, 0%, 69.8%)
CIE-LABlab(19.09, 31.85, -20.78)
CIE-LCHlch(19.09, 38.03, 326.88°)
OKLaboklab(31.6% 0.0882 -0.0574)
OKLCHoklch(31.6% 0.105 326.9)
XYZxyz(4.6676, 2.7679, 7.3081)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C194D #1A4D19
analogous
#32194D #4C194D #4D1934
triadic
#4C194D #4D4C19 #194D4C
tetradic
#4C194D #4D3219 #1A4D19 #19344D
square
#4C194D #4D3219 #1A4D19 #19344D
split-complementary
#4C194D #344D19 #194D32
monochromatic
#170817 #1E0A1F #4C194D #7A287B #A737A9

Accessibility & contrast

On white

13.52
#4C194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C194D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C194D#FFFFFF#000000##FFFFFF
##4C194D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4F
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#4E2030
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c194d;
/* rgb */ color: rgb(76, 25, 77);
/* oklch */ color: oklch(31.6% 0.105 326.9);
Tailwind
colors: {
  custom: {
    50: '#805a7f',
    500: '#4c194d',
    950: '#000000',
  },
}
SCSS
$custom: #4c194d;
$custom-light: #805a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c194d",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 298.846,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.10527,
    "h": 326.9
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#4C194D
secondary
#40833E
accent
#DA4D50
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C194D

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

Preview Lab → · Contrast checker → · Palette generator →

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