#4E1E4A#4E1E4A

#4E1E4A is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.095 H 330.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4E1E4A
RGBrgb(78, 30, 74)
HSLhsl(305, 44%, 21%)
HSVhsv(305, 62%, 31%)
CMYKcmyk(0%, 61.5%, 5.1%, 69.4%)
CIE-LABlab(20.22, 29.25, -16.95)
CIE-LCHlch(20.22, 33.81, 329.92°)
OKLaboklab(32.44% 0.0831 -0.0464)
OKLCHoklch(32.44% 0.095 330.8)
XYZxyz(4.8422, 3.0430, 6.8096)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E4A #1E4E22
analogous
#3A1E4E #4E1E4A #4E1E32
triadic
#4E1E4A #4A4E1E #1E4A4E
tetradic
#4E1E4A #4E3A1E #1E4E22 #1E324E
square
#4E1E4A #4E3A1E #1E4E22 #1E324E
split-complementary
#4E1E4A #324E1E #1E4E3A
monochromatic
#160915 #220D20 #4E1E4A #7A2F74 #A6409E

Accessibility & contrast

On white

13.05
#4E1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E4A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E4A#FFFFFF#000000##FFFFFF
##4E1E4A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4B
Deuteranopia (green-blind)
#2A3349
Tritanopia (blue-blind)
#512231
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e4a;
/* rgb */ color: rgb(78, 30, 74);
/* oklch */ color: oklch(32.4% 0.095 330.8);
Tailwind
colors: {
  custom: {
    50: '#815d7c',
    500: '#4e1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e4a;
$custom-light: #815d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e4a",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 305,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32439,
    "c": 0.09513,
    "h": 330.8
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#4E1E4A
secondary
#45834A
accent
#D45E54
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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