#4E224E#4E224E

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

Color values

HEX#4E224E
RGBrgb(78, 34, 78)
HSLhsl(300, 39%, 22%)
HSVhsv(300, 56%, 31%)
CMYKcmyk(0%, 56.4%, 0%, 69.4%)
CIE-LABlab(21.26, 27.85, -18.03)
CIE-LCHlch(21.26, 33.17, 327.09°)
OKLaboklab(33.28% 0.0774 -0.0495)
OKLCHoklch(33.28% 0.092 327.4)
XYZxyz(5.0890, 3.3141, 7.5779)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E224E #224E22
analogous
#38224E #4E224E #4E2238
triadic
#4E224E #4E4E22 #224E4E
tetradic
#4E224E #4E3822 #224E22 #22384E
square
#4E224E #4E3822 #224E22 #22384E
split-complementary
#4E224E #384E22 #224E38
monochromatic
#150915 #230F23 #4E224E #793579 #A347A3

Accessibility & contrast

On white

12.63
#4E224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E224E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E224E#FFFFFF#000000##FFFFFF
##4E224E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#502734
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e224e;
/* rgb */ color: rgb(78, 34, 78);
/* oklch */ color: oklch(33.3% 0.092 327.4);
Tailwind
colors: {
  custom: {
    50: '#815f7f',
    500: '#4e224e',
    950: '#000000',
  },
}
SCSS
$custom: #4e224e;
$custom-light: #815f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e224e",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33278,
    "c": 0.09189,
    "h": 327.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#4E224E
secondary
#4A824A
accent
#CF5959
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E224E

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

Preview Lab → · Contrast checker → · Palette generator →

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