#4E224F#4E224F

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

Color values

HEX#4E224F
RGBrgb(78, 34, 79)
HSLhsl(299, 40%, 22%)
HSVhsv(299, 57%, 31%)
CMYKcmyk(1.3%, 57%, 0%, 69%)
CIE-LABlab(21.31, 28.06, -18.61)
CIE-LCHlch(21.31, 33.67, 326.44°)
OKLaboklab(33.34% 0.0776 -0.0512)
OKLCHoklch(33.34% 0.093 326.6)
XYZxyz(5.1251, 3.3286, 7.7681)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E224F #234F22
analogous
#38224F #4E224F #4F223A
triadic
#4E224F #4F4E22 #224F4E
tetradic
#4E224F #4F3822 #234F22 #223A4F
square
#4E224F #4F3822 #234F22 #223A4F
split-complementary
#4E224F #3A4F22 #224F38
monochromatic
#150915 #241024 #4E224F #78347A #A247A5

Accessibility & contrast

On white

12.61
#4E224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E224F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E224F#FFFFFF#000000##FFFFFF
##4E224F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3050
Deuteranopia (green-blind)
#2B354E
Tritanopia (blue-blind)
#502735
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e224f;
/* rgb */ color: rgb(78, 34, 79);
/* oklch */ color: oklch(33.3% 0.093 326.6);
Tailwind
colors: {
  custom: {
    50: '#815f80',
    500: '#4e224f',
    950: '#000000',
  },
}
SCSS
$custom: #4e224f;
$custom-light: #815f80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e224f",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 298.667,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.09295,
    "h": 326.6
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#4E224F
secondary
#4B834A
accent
#D0585B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E224F

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

Preview Lab → · Contrast checker → · Palette generator →

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