#4E204A#4E204A

#4E204A is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.091 H 330.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4E204A
RGBrgb(78, 32, 74)
HSLhsl(305, 42%, 22%)
HSVhsv(305, 59%, 31%)
CMYKcmyk(0%, 59%, 5.1%, 69.4%)
CIE-LABlab(20.63, 28.15, -16.31)
CIE-LCHlch(20.63, 32.53, 329.92°)
OKLaboklab(32.74% 0.0799 -0.0446)
OKLCHoklch(32.74% 0.092 330.8)
XYZxyz(4.8944, 3.1475, 6.8270)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E204A #204E24
analogous
#3B204E #4E204A #4E2033
triadic
#4E204A #4A4E20 #204A4E
tetradic
#4E204A #4E3B20 #204E24 #20334E
square
#4E204A #4E3B20 #204E24 #20334E
split-complementary
#4E204A #334E20 #204E3B
monochromatic
#160915 #230E21 #4E204A #793273 #A5449C

Accessibility & contrast

On white

12.89
#4E204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E204A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E204A#FFFFFF#000000##FFFFFF
##4E204A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#2C3449
Tritanopia (blue-blind)
#512431
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e204a;
/* rgb */ color: rgb(78, 32, 74);
/* oklch */ color: oklch(32.7% 0.091 330.8);
Tailwind
colors: {
  custom: {
    50: '#815e7c',
    500: '#4e204a',
    950: '#000000',
  },
}
SCSS
$custom: #4e204a;
$custom-light: #815e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e204a",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 305.217,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.0915,
    "h": 330.8
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#4E204A
secondary
#47824D
accent
#D26156
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E204A

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

Preview Lab → · Contrast checker → · Palette generator →

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