#4E224D#4E224D

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

Color values

HEX#4E224D
RGBrgb(78, 34, 77)
HSLhsl(301, 39%, 22%)
HSVhsv(301, 56%, 31%)
CMYKcmyk(0%, 56.4%, 1.3%, 69.4%)
CIE-LABlab(21.21, 27.64, -17.43)
CIE-LCHlch(21.21, 32.68, 327.76°)
OKLaboklab(33.22% 0.0772 -0.0478)
OKLCHoklch(33.22% 0.091 328.2)
XYZxyz(5.0534, 3.2999, 7.3905)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E224D #224E23
analogous
#39224E #4E224D #4E2237
triadic
#4E224D #4D4E22 #224D4E
tetradic
#4E224D #4E3922 #224E23 #22374E
square
#4E224D #4E3922 #224E23 #22374E
split-complementary
#4E224D #374E22 #224E39
monochromatic
#150915 #230F23 #4E224D #793577 #A347A1

Accessibility & contrast

On white

12.65
#4E224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E224D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E224D#FFFFFF#000000##FFFFFF
##4E224D1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e224d;
/* rgb */ color: rgb(78, 34, 77);
/* oklch */ color: oklch(33.2% 0.091 328.2);
Tailwind
colors: {
  custom: {
    50: '#815f7f',
    500: '#4e224d',
    950: '#000000',
  },
}
SCSS
$custom: #4e224d;
$custom-light: #815f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e224d",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 301.364,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.09084,
    "h": 328.2
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#4E224D
secondary
#4A824B
accent
#CF5B59
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E224D

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

Preview Lab → · Contrast checker → · Palette generator →

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