#4E224A#4E224A

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

Color values

HEX#4E224A
RGBrgb(78, 34, 74)
HSLhsl(305, 39%, 22%)
HSVhsv(305, 56%, 31%)
CMYKcmyk(0%, 56.4%, 5.1%, 69.4%)
CIE-LABlab(21.05, 27.02, -15.65)
CIE-LCHlch(21.05, 31.22, 329.93°)
OKLaboklab(33.06% 0.0767 -0.0427)
OKLCHoklch(33.06% 0.088 330.9)
XYZxyz(4.9499, 3.2585, 6.8455)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E224A #224E26
analogous
#3C224E #4E224A #4E2234
triadic
#4E224A #4A4E22 #224A4E
tetradic
#4E224A #4E3C22 #224E26 #22344E
square
#4E224A #4E3C22 #224E26 #22344E
split-complementary
#4E224A #344E22 #224E3C
monochromatic
#150914 #230F22 #4E224A #793572 #A3479B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E224A#FFFFFF#000000##FFFFFF
##4E224A1.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)
#202F4B
Deuteranopia (green-blind)
#2D3549
Tritanopia (blue-blind)
#512632
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e224a;
/* rgb */ color: rgb(78, 34, 74);
/* oklch */ color: oklch(33.1% 0.088 330.9);
Tailwind
colors: {
  custom: {
    50: '#815f7c',
    500: '#4e224a',
    950: '#000000',
  },
}
SCSS
$custom: #4e224a;
$custom-light: #815f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e224a",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 305.455,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.08775,
    "h": 330.9
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#4E224A
secondary
#4A824F
accent
#CF6359
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E224A

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

Preview Lab → · Contrast checker → · Palette generator →

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