#4D2249#4D2249

#4D2249 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.8% C 0.086 H 330.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4D2249
RGBrgb(77, 34, 73)
HSLhsl(306, 39%, 22%)
HSVhsv(306, 56%, 30%)
CMYKcmyk(0%, 55.8%, 5.2%, 69.8%)
CIE-LABlab(20.84, 26.47, -15.31)
CIE-LCHlch(20.84, 30.58, 329.96°)
OKLaboklab(32.85% 0.0751 -0.0418)
OKLCHoklch(32.85% 0.086 330.9)
XYZxyz(4.8352, 3.2032, 6.6656)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2249 #224D26
analogous
#3C224D #4D2249 #4D2234
triadic
#4D2249 #494D22 #22494D
tetradic
#4D2249 #4D3C22 #224D26 #22344D
square
#4D2249 #4D3C22 #224D26 #22344D
split-complementary
#4D2249 #344D22 #224D3C
monochromatic
#150914 #230F21 #4D2249 #773571 #A24799

Accessibility & contrast

On white

12.80
#4D2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2249
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2249#FFFFFF#000000##FFFFFF
##4D22491.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E4A
Deuteranopia (green-blind)
#2D3448
Tritanopia (blue-blind)
#502532
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d2249;
/* rgb */ color: rgb(77, 34, 73);
/* oklch */ color: oklch(32.8% 0.086 330.9);
Tailwind
colors: {
  custom: {
    50: '#805f7c',
    500: '#4d2249',
    950: '#000000',
  },
}
SCSS
$custom: #4d2249;
$custom-light: #805f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2249",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 305.581,
    "s": 38.739,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32849,
    "c": 0.08594,
    "h": 330.9
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#4D2249
secondary
#4A814F
accent
#CF6459
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4D2249

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

Preview Lab → · Contrast checker → · Palette generator →

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