#4D224F#4D224F

#4D224F is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.2% C 0.092 H 325.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4D224F
RGBrgb(77, 34, 79)
HSLhsl(297, 40%, 22%)
HSVhsv(297, 57%, 31%)
CMYKcmyk(2.5%, 57%, 0%, 69%)
CIE-LABlab(21.16, 27.73, -18.87)
CIE-LCHlch(21.16, 33.55, 325.76°)
OKLaboklab(33.19% 0.0762 -0.052)
OKLCHoklch(33.19% 0.092 325.7)
XYZxyz(5.0438, 3.2866, 7.7643)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D224F #244F22
analogous
#37224F #4D224F #4F223B
triadic
#4D224F #4F4D22 #224F4D
tetradic
#4D224F #4F3722 #244F22 #223B4F
square
#4D224F #4F3722 #244F22 #223B4F
split-complementary
#4D224F #3B4F22 #224F37
monochromatic
#150915 #231024 #4D224F #77347A #A047A5

Accessibility & contrast

On white

12.67
#4D224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4D224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D224F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D224F#FFFFFF#000000##FFFFFF
##4D224F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#2A354E
Tritanopia (blue-blind)
#4F2735
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d224f;
/* rgb */ color: rgb(77, 34, 79);
/* oklch */ color: oklch(33.2% 0.092 325.7);
Tailwind
colors: {
  custom: {
    50: '#805f80',
    500: '#4d224f',
    950: '#000000',
  },
}
SCSS
$custom: #4d224f;
$custom-light: #805f80;
$custom-dark: #000000;
JSON
{
  "hex": "#4d224f",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 297.333,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.09226,
    "h": 325.7
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#4D224F
secondary
#4C834A
accent
#D0585D
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4D224F

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

Preview Lab → · Contrast checker → · Palette generator →

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