#4E1A4B#4E1A4B

#4E1A4B is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.9% C 0.103 H 330.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4E1A4B
RGBrgb(78, 26, 75)
HSLhsl(303, 50%, 20%)
HSVhsv(303, 67%, 31%)
CMYKcmyk(0%, 66.7%, 3.8%, 69.4%)
CIE-LABlab(19.50, 31.55, -18.74)
CIE-LCHlch(19.50, 36.69, 329.28°)
OKLaboklab(31.94% 0.0892 -0.0515)
OKLCHoklch(31.94% 0.103 330)
XYZxyz(4.7812, 2.8668, 6.9568)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A4B #1A4E1D
analogous
#371A4E #4E1A4B #4E1A31
triadic
#4E1A4B #4B4E1A #1A4B4E
tetradic
#4E1A4B #4E371A #1A4E1D #1A314E
square
#4E1A4B #4E371A #1A4E1D #1A314E
split-complementary
#4E1A4B #314E1A #1A4E37
monochromatic
#170816 #200B1F #4E1A4B #7C2977 #AA39A3

Accessibility & contrast

On white

13.35
#4E1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A4B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A4B#FFFFFF#000000##FFFFFF
##4E1A4B1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4C
Deuteranopia (green-blind)
#28324A
Tritanopia (blue-blind)
#511F2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a4b;
/* rgb */ color: rgb(78, 26, 75);
/* oklch */ color: oklch(31.9% 0.103 330.0);
Tailwind
colors: {
  custom: {
    50: '#825b7d',
    500: '#4e1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a4b;
$custom-light: #825b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a4b",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 303.462,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31936,
    "c": 0.103,
    "h": 330
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#4E1A4B
secondary
#408444
accent
#DA564E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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