#4E1E4C#4E1E4C

#4E1E4C is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.097 H 329.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4E1E4C
RGBrgb(78, 30, 76)
HSLhsl(303, 44%, 21%)
HSVhsv(303, 62%, 31%)
CMYKcmyk(0%, 61.5%, 2.6%, 69.4%)
CIE-LABlab(20.32, 29.66, -18.14)
CIE-LCHlch(20.32, 34.76, 328.55°)
OKLaboklab(32.55% 0.0834 -0.0498)
OKLCHoklch(32.55% 0.097 329.2)
XYZxyz(4.9106, 3.0704, 7.1701)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E4C #1E4E20
analogous
#381E4E #4E1E4C #4E1E34
triadic
#4E1E4C #4C4E1E #1E4C4E
tetradic
#4E1E4C #4E381E #1E4E20 #1E344E
square
#4E1E4C #4E381E #1E4E20 #1E344E
split-complementary
#4E1E4C #344E1E #1E4E38
monochromatic
#160916 #220D21 #4E1E4C #7A2F77 #A640A2

Accessibility & contrast

On white

13.01
#4E1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E4C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E4C#FFFFFF#000000##FFFFFF
##4E1E4C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#2A334B
Tritanopia (blue-blind)
#512331
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e4c;
/* rgb */ color: rgb(78, 30, 76);
/* oklch */ color: oklch(32.6% 0.097 329.2);
Tailwind
colors: {
  custom: {
    50: '#815d7e',
    500: '#4e1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e4c;
$custom-light: #815d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e4c",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 302.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32554,
    "c": 0.09712,
    "h": 329.2
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#4E1E4C
secondary
#458347
accent
#D45954
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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