#4E204D#4E204D

#4E204D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.095 H 328.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4E204D
RGBrgb(78, 32, 77)
HSLhsl(301, 42%, 22%)
HSVhsv(301, 59%, 31%)
CMYKcmyk(0%, 59%, 1.3%, 69.4%)
CIE-LABlab(20.78, 28.77, -18.09)
CIE-LCHlch(20.78, 33.98, 327.83°)
OKLaboklab(32.91% 0.0804 -0.0497)
OKLCHoklch(32.91% 0.095 328.3)
XYZxyz(4.9979, 3.1888, 7.3720)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E204D #204E21
analogous
#38204E #4E204D #4E2036
triadic
#4E204D #4D4E20 #204D4E
tetradic
#4E204D #4E3820 #204E21 #20364E
square
#4E204D #4E3820 #204E21 #20364E
split-complementary
#4E204D #364E20 #204E38
monochromatic
#160915 #230E22 #4E204D #793278 #A544A3

Accessibility & contrast

On white

12.82
#4E204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E204D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E204D#FFFFFF#000000##FFFFFF
##4E204D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#512533
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e204d;
/* rgb */ color: rgb(78, 32, 77);
/* oklch */ color: oklch(32.9% 0.095 328.3);
Tailwind
colors: {
  custom: {
    50: '#815e7f',
    500: '#4e204d',
    950: '#000000',
  },
}
SCSS
$custom: #4e204d;
$custom-light: #815e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e204d",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 301.304,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.09453,
    "h": 328.3
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#4E204D
secondary
#478249
accent
#D25956
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E204D

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

Preview Lab → · Contrast checker → · Palette generator →

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