#4D194F#4D194F

#4D194F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.108 H 326.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4D194F
RGBrgb(77, 25, 79)
HSLhsl(298, 52%, 20%)
HSVhsv(298, 68%, 31%)
CMYKcmyk(2.5%, 68.4%, 0%, 69%)
CIE-LABlab(19.38, 32.55, -21.66)
CIE-LCHlch(19.38, 39.10, 326.36°)
OKLaboklab(31.89% 0.0897 -0.06)
OKLCHoklch(31.89% 0.108 326.2)
XYZxyz(4.8194, 2.8379, 7.6895)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D194F #1B4F19
analogous
#32194F #4D194F #4F1936
triadic
#4D194F #4F4D19 #194F4D
tetradic
#4D194F #4F3219 #1B4F19 #19364F
square
#4D194F #4F3219 #1B4F19 #19364F
split-complementary
#4D194F #364F19 #194F32
monochromatic
#170717 #200A21 #4D194F #7A287D #A836AC

Accessibility & contrast

On white

13.40
#4D194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4D194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D194F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D194F#FFFFFF#000000##FFFFFF
##4D194F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#4F2031
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d194f;
/* rgb */ color: rgb(77, 25, 79);
/* oklch */ color: oklch(31.9% 0.108 326.2);
Tailwind
colors: {
  custom: {
    50: '#815a80',
    500: '#4d194f',
    950: '#000000',
  },
}
SCSS
$custom: #4d194f;
$custom-light: #815a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4d194f",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 297.778,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3189,
    "c": 0.10789,
    "h": 326.2
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#4D194F
secondary
#41853E
accent
#DB4C52
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D194F

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

Preview Lab → · Contrast checker → · Palette generator →

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