#4D2F4E#4D2F4E

#4D2F4E is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.4% C 0.065 H 325.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4D2F4E
RGBrgb(77, 47, 78)
HSLhsl(298, 25%, 25%)
HSVhsv(298, 40%, 31%)
CMYKcmyk(1.3%, 39.7%, 0%, 69.4%)
CIE-LABlab(24.20, 19.57, -13.48)
CIE-LCHlch(24.20, 23.76, 325.44°)
OKLaboklab(35.44% 0.0539 -0.0367)
OKLCHoklch(35.44% 0.065 325.7)
XYZxyz(5.4521, 4.1611, 7.7222)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F4E #304E2F
analogous
#3E2F4E #4D2F4E #4E2F40
triadic
#4D2F4E #4E4D2F #2F4E4D
tetradic
#4D2F4E #4E3E2F #304E2F #2F404E
square
#4D2F4E #4E3E2F #304E2F #2F404E
split-complementary
#4D2F4E #404E2F #2F4E3E
monochromatic
#130C13 #271828 #4D2F4E #734674 #985D9A

Accessibility & contrast

On white

11.46
#4D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F4E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F4E#FFFFFF#000000##FFFFFF
##4D2F4E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#4F323B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d2f4e;
/* rgb */ color: rgb(77, 47, 78);
/* oklch */ color: oklch(35.4% 0.065 325.7);
Tailwind
colors: {
  custom: {
    50: '#7f687f',
    500: '#4d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f4e;
$custom-light: #7f687f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f4e",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 298.065,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35438,
    "c": 0.06518,
    "h": 325.7
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#4D2F4E
secondary
#5B7F5A
accent
#C16769
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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