#4E2049#4E2049

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

Color values

HEX#4E2049
RGBrgb(78, 32, 73)
HSLhsl(307, 42%, 22%)
HSVhsv(307, 59%, 31%)
CMYKcmyk(0%, 59%, 6.4%, 69.4%)
CIE-LABlab(20.57, 27.95, -15.71)
CIE-LCHlch(20.57, 32.06, 330.66°)
OKLaboklab(32.68% 0.0797 -0.0429)
OKLCHoklch(32.68% 0.091 331.7)
XYZxyz(4.8610, 3.1341, 6.6509)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2049 #204E25
analogous
#3C204E #4E2049 #4E2032
triadic
#4E2049 #494E20 #20494E
tetradic
#4E2049 #4E3C20 #204E25 #20324E
square
#4E2049 #4E3C20 #204E25 #20324E
split-complementary
#4E2049 #324E20 #204E3C
monochromatic
#160914 #230E20 #4E2049 #793272 #A5449A

Accessibility & contrast

On white

12.91
#4E2049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2049
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2049#FFFFFF#000000##FFFFFF
##4E20491.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2049;
/* rgb */ color: rgb(78, 32, 73);
/* oklch */ color: oklch(32.7% 0.090 331.7);
Tailwind
colors: {
  custom: {
    50: '#815e7c',
    500: '#4e2049',
    950: '#000000',
  },
}
SCSS
$custom: #4e2049;
$custom-light: #815e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2049",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 306.522,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32685,
    "c": 0.0905,
    "h": 331.7
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#4E2049
secondary
#47824E
accent
#D26456
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E2049

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

Preview Lab → · Contrast checker → · Palette generator →

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