#4D2C4E#4D2C4E

#4D2C4E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.9% C 0.071 H 325.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#4D2C4E
RGBrgb(77, 44, 78)
HSLhsl(298, 28%, 24%)
HSVhsv(298, 44%, 31%)
CMYKcmyk(1.3%, 43.6%, 0%, 69.4%)
CIE-LABlab(23.44, 21.47, -14.65)
CIE-LCHlch(23.44, 25.99, 325.69°)
OKLaboklab(34.87% 0.0592 -0.04)
OKLCHoklch(34.87% 0.071 325.9)
XYZxyz(5.3363, 3.9294, 7.6836)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C4E #2D4E2C
analogous
#3C2C4E #4D2C4E #4E2C3E
triadic
#4D2C4E #4E4D2C #2C4E4D
tetradic
#4D2C4E #4E3C2C #2D4E2C #2C3E4E
square
#4D2C4E #4E3C2C #2D4E2C #2C3E4E
split-complementary
#4D2C4E #3E4E2C #2C4E3C
monochromatic
#130B14 #261627 #4D2C4E #744275 #9A589C

Accessibility & contrast

On white

11.76
#4D2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4D2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C4E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C4E#FFFFFF#000000##FFFFFF
##4D2C4E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#32394D
Tritanopia (blue-blind)
#4F2F39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d2c4e;
/* rgb */ color: rgb(77, 44, 78);
/* oklch */ color: oklch(34.9% 0.071 325.9);
Tailwind
colors: {
  custom: {
    50: '#80667f',
    500: '#4d2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c4e;
$custom-light: #80667f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c4e",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 298.235,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34866,
    "c": 0.07141,
    "h": 325.9
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#4D2C4E
secondary
#578056
accent
#C46466
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4D2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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