#4D2E4E#4D2E4E

#4D2E4E is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.2% C 0.067 H 325.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4D2E4E
RGBrgb(77, 46, 78)
HSLhsl(298, 26%, 24%)
HSVhsv(298, 41%, 31%)
CMYKcmyk(1.3%, 41%, 0%, 69.4%)
CIE-LABlab(23.94, 20.21, -13.88)
CIE-LCHlch(23.94, 24.51, 325.52°)
OKLaboklab(35.24% 0.0556 -0.0378)
OKLCHoklch(35.24% 0.067 325.8)
XYZxyz(5.4126, 4.0820, 7.7091)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E4E #2F4E2E
analogous
#3D2E4E #4D2E4E #4E2E3F
triadic
#4D2E4E #4E4D2E #2E4E4D
tetradic
#4D2E4E #4E3D2E #2F4E2E #2E3F4E
square
#4D2E4E #4E3D2E #2F4E2E #2E3F4E
split-complementary
#4D2E4E #3F4E2E #2E4E3D
monochromatic
#130B13 #271728 #4D2E4E #734574 #995B9B

Accessibility & contrast

On white

11.56
#4D2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4D2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E4E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E4E#FFFFFF#000000##FFFFFF
##4D2E4E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#333A4D
Tritanopia (blue-blind)
#4F313A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d2e4e;
/* rgb */ color: rgb(77, 46, 78);
/* oklch */ color: oklch(35.2% 0.067 325.8);
Tailwind
colors: {
  custom: {
    50: '#7f677f',
    500: '#4d2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e4e;
$custom-light: #7f677f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e4e",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 298.125,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35245,
    "c": 0.06728,
    "h": 325.8
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#4D2E4E
secondary
#5A7F58
accent
#C26668
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4D2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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