#4D224D#4D224D

#4D224D is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.1% C 0.090 H 327.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#4D224D
RGBrgb(77, 34, 77)
HSLhsl(300, 39%, 22%)
HSVhsv(300, 56%, 30%)
CMYKcmyk(0%, 55.8%, 0%, 69.8%)
CIE-LABlab(21.05, 27.31, -17.69)
CIE-LCHlch(21.05, 32.54, 327.06°)
OKLaboklab(33.07% 0.0759 -0.0486)
OKLCHoklch(33.07% 0.09 327.4)
XYZxyz(4.9721, 3.2579, 7.3867)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D224D #224D22
analogous
#38224D #4D224D #4D2238
triadic
#4D224D #4D4D22 #224D4D
tetradic
#4D224D #4D3822 #224D22 #22384D
square
#4D224D #4D3822 #224D22 #22384D
split-complementary
#4D224D #384D22 #224D38
monochromatic
#150915 #230F23 #4D224D #773577 #A247A2

Accessibility & contrast

On white

12.71
#4D224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D224D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D224D#FFFFFF#000000##FFFFFF
##4D224D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#4F2734
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d224d;
/* rgb */ color: rgb(77, 34, 77);
/* oklch */ color: oklch(33.1% 0.090 327.4);
Tailwind
colors: {
  custom: {
    50: '#805f7f',
    500: '#4d224d',
    950: '#000000',
  },
}
SCSS
$custom: #4d224d;
$custom-light: #805f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d224d",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 38.739,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.09011,
    "h": 327.4
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#4D224D
secondary
#4A814A
accent
#CF5959
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4D224D

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

Preview Lab → · Contrast checker → · Palette generator →

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