#4D1949#4D1949

#4D1949 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.5% C 0.102 H 330.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4D1949
RGBrgb(77, 25, 73)
HSLhsl(305, 51%, 20%)
HSVhsv(305, 68%, 30%)
CMYKcmyk(0%, 67.5%, 5.2%, 69.8%)
CIE-LABlab(19.03, 31.35, -18.13)
CIE-LCHlch(19.03, 36.22, 329.97°)
OKLaboklab(31.52% 0.0891 -0.0497)
OKLCHoklch(31.52% 0.102 330.8)
XYZxyz(4.6108, 2.7544, 6.5908)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1949 #194D1D
analogous
#37194D #4D1949 #4D192F
triadic
#4D1949 #494D19 #19494D
tetradic
#4D1949 #4D3719 #194D1D #192F4D
square
#4D1949 #4D3719 #194D1D #192F4D
split-complementary
#4D1949 #2F4D19 #194D37
monochromatic
#170816 #1F0A1D #4D1949 #7B2875 #A937A1

Accessibility & contrast

On white

13.54
#4D1949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1949
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1949#FFFFFF#000000##FFFFFF
##4D19491.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4A
Deuteranopia (green-blind)
#273148
Tritanopia (blue-blind)
#501E2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1949;
/* rgb */ color: rgb(77, 25, 73);
/* oklch */ color: oklch(31.5% 0.102 330.8);
Tailwind
colors: {
  custom: {
    50: '#815a7c',
    500: '#4d1949',
    950: '#000000',
  },
}
SCSS
$custom: #4d1949;
$custom-light: #815a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1949",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 304.615,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.31521,
    "c": 0.10205,
    "h": 330.8
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#4D1949
secondary
#3E8344
accent
#DA584D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4D1949

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

Preview Lab → · Contrast checker → · Palette generator →

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