#4D2B4E#4D2B4E

#4D2B4E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.7% C 0.073 H 326.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4D2B4E
RGBrgb(77, 43, 78)
HSLhsl(298, 29%, 24%)
HSVhsv(298, 45%, 31%)
CMYKcmyk(1.3%, 44.9%, 0%, 69.4%)
CIE-LABlab(23.19, 22.10, -15.04)
CIE-LCHlch(23.19, 26.73, 325.77°)
OKLaboklab(34.68% 0.0609 -0.0411)
OKLCHoklch(34.68% 0.073 326)
XYZxyz(5.2995, 3.8558, 7.6714)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B4E #2C4E2B
analogous
#3B2B4E #4D2B4E #4E2B3D
triadic
#4D2B4E #4E4D2B #2B4E4D
tetradic
#4D2B4E #4E3B2B #2C4E2B #2B3D4E
square
#4D2B4E #4E3B2B #2C4E2B #2B3D4E
split-complementary
#4D2B4E #3D4E2B #2B4E3B
monochromatic
#130B14 #261527 #4D2B4E #744175 #9B569D

Accessibility & contrast

On white

11.86
#4D2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4D2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B4E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B4E#FFFFFF#000000##FFFFFF
##4D2B4E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#4F2F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4d2b4e;
/* rgb */ color: rgb(77, 43, 78);
/* oklch */ color: oklch(34.7% 0.073 326.0);
Tailwind
colors: {
  custom: {
    50: '#80657f',
    500: '#4d2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b4e;
$custom-light: #80657f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b4e",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 298.286,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.07347,
    "h": 326
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#4D2B4E
secondary
#568055
accent
#C56365
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4D2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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