#4D1544#4D1544

#4D1544 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.104 H 334.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4D1544
RGBrgb(77, 21, 68)
HSLhsl(310, 57%, 19%)
HSVhsv(310, 73%, 30%)
CMYKcmyk(0%, 72.7%, 11.7%, 69.8%)
CIE-LABlab(18.06, 32.33, -16.20)
CIE-LCHlch(18.06, 36.17, 333.38°)
OKLaboklab(30.73% 0.094 -0.0442)
OKLCHoklch(30.73% 0.104 334.8)
XYZxyz(4.3722, 2.5318, 5.7261)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1544 #154D1E
analogous
#3A154D #4D1544 #4D1528
triadic
#4D1544 #444D15 #15444D
tetradic
#4D1544 #4D3A15 #154D1E #15284D
square
#4D1544 #4D3A15 #154D1E #15284D
split-complementary
#4D1544 #284D15 #154D3A
monochromatic
#180715 #1D081A #4D1544 #7D226E #AD2F99

Accessibility & contrast

On white

13.94
#4D1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D1544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1544
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1544#FFFFFF#000000##FFFFFF
##4D15441.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152745
Deuteranopia (green-blind)
#272F43
Tritanopia (blue-blind)
#51192A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1544;
/* rgb */ color: rgb(77, 21, 68);
/* oklch */ color: oklch(30.7% 0.104 334.8);
Tailwind
colors: {
  custom: {
    50: '#815878',
    500: '#4d1544',
    950: '#000000',
  },
}
SCSS
$custom: #4d1544;
$custom-light: #815878;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1544",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 309.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30725,
    "c": 0.1039,
    "h": 334.8
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#4D1544
secondary
#398545
accent
#E06047
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1544

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

Preview Lab → · Contrast checker → · Palette generator →

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