#4E2149#4E2149

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

Color values

HEX#4E2149
RGBrgb(78, 33, 73)
HSLhsl(307, 41%, 22%)
HSVhsv(307, 58%, 31%)
CMYKcmyk(0%, 57.7%, 6.4%, 69.4%)
CIE-LABlab(20.78, 27.39, -15.38)
CIE-LCHlch(20.78, 31.41, 330.68°)
OKLaboklab(32.84% 0.0781 -0.0419)
OKLCHoklch(32.84% 0.089 331.8)
XYZxyz(4.8883, 3.1888, 6.6601)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2149 #214E26
analogous
#3D214E #4E2149 #4E2133
triadic
#4E2149 #494E21 #21494E
tetradic
#4E2149 #4E3D21 #214E26 #21334E
square
#4E2149 #4E3D21 #214E26 #21334E
split-complementary
#4E2149 #334E21 #214E3D
monochromatic
#160914 #230F21 #4E2149 #793371 #A44599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2149#FFFFFF#000000##FFFFFF
##4E21491.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)
#1F2E4A
Deuteranopia (green-blind)
#2D3448
Tritanopia (blue-blind)
#512431
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2149;
/* rgb */ color: rgb(78, 33, 73);
/* oklch */ color: oklch(32.8% 0.089 331.8);
Tailwind
colors: {
  custom: {
    50: '#815f7c',
    500: '#4e2149',
    950: '#000000',
  },
}
SCSS
$custom: #4e2149;
$custom-light: #815f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2149",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 306.667,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.08863,
    "h": 331.8
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#4E2149
secondary
#49824F
accent
#D06557
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E2149

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

Preview Lab → · Contrast checker → · Palette generator →

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